Skip to main content

Ideogram - Image to Prompt

Generate a descriptive text prompt from an image using Ideogram's Describe endpoint. Useful for reverse-engineering prompts, captioning, or feeding the output back into an image generator.

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Parameters

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be IMAGE_TO_PROMPT
modelstringYesAI model identifier. Must be ideogram-3
promptObjectobjectYesConfiguration object containing the describe parameters

Prompt Object Parameters

ParameterTypeRequiredDescriptionDefault
imageUrlstringYesAsset path to the image to describe-

Image Requirements

  • Per-file maximum size: 10 MB
  • Formats: JPEG, PNG, WebP

Code Examples

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_TO_PROMPT",
"model": "ideogram-3",
"promptObject": {
"imageUrl": "development/images/cat_on_couch.png"
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Asset path to the image to describe

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_TO_PROMPT",
"model": "ideogram-3",
"promptObject": {
"imageUrl": "development/images/cat_on_couch.png"
}
}'

Response Format

{
"aiRecord": {
"uuid": "e40dd9ef-0944-4ce5-bc90-1edd2548619a",
"model": "ideogram-3",
"type": "IMAGE_TO_PROMPT",
"status": "SUCCESS",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "development/images/cat_on_couch.png"
},
"resultObject": [
"A cute orange cat sitting on a white couch."
],
"responseObject": {
"descriptions": [
{
"text": "A cute orange cat sitting on a white couch."
}
]
}
}
}
}