Documentation Index
Fetch the complete documentation index at: https://docs.crazyrouter.com/llms.txt
Use this file to discover all available pages before exploring further.
Ideogram Legacy
The Ideogram Legacy API provides basic image generation capabilities.
We recommend using Ideogram V3 for better generation results.
Generate Image
Request Parameters
| Parameter | Type | Required | Description |
|---|
image_request | object | Yes | Image request object |
image_request.prompt | string | Yes | Prompt |
image_request.model | string | No | Model version: V_2, V_2_TURBO |
image_request.aspect_ratio | string | No | Aspect ratio |
image_request.magic_prompt_option | string | No | Prompt enhancement |
image_request.style_type | string | No | Style type |
image_request.negative_prompt | string | No | Negative prompt |
Request Example
curl -X POST https://crazyrouter.com/ideogram/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"image_request": {
"prompt": "A futuristic cityscape at night with neon lights",
"model": "V_2",
"aspect_ratio": "ASPECT_16_9",
"magic_prompt_option": "AUTO"
}
}'
Response Example
{
"created": 1709123456,
"data": [
{
"url": "https://ideogram.ai/assets/image/...",
"prompt": "A futuristic cityscape at night with neon lights",
"resolution": "1344x768",
"seed": 67890
}
]
}
Remix
Generate variations based on a reference image.
curl -X POST https://crazyrouter.com/ideogram/remix \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"image_request": {
"prompt": "Same scene in anime style",
"model": "V_2"
},
"image_file": "https://example.com/photo.jpg"
}'
Upscale Image
Upscale an image to a higher resolution.
curl -X POST https://crazyrouter.com/ideogram/upscale \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"image_request": {
"prompt": "high quality detailed image"
},
"image_file": "https://example.com/photo.jpg"
}'
Describe Image
Let the model describe the image content and generate corresponding prompts.
curl -X POST https://crazyrouter.com/ideogram/describe \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"image_file": "https://example.com/photo.jpg"
}'
Response Example
{
"descriptions": [
{
"text": "A futuristic cityscape at night with vibrant neon lights reflecting off wet streets, tall skyscrapers with holographic advertisements"
}
]
}