{"openapi":"3.0.2","info":{"title":"ideogram/ideogram-v3","description":"The request body Comfy Router accepts for the model \"ideogram/ideogram-v3\", and the response body it returns. The INPUT schema is the same schema the server validates a call against before it reaches the provider, so what is published and what is enforced cannot differ. `x-comfy-router-input-modalities` records the media kinds the model is documented to accept; the request schema is shared across sibling models and may admit media kinds this model ignores. The OUTPUT schema describes the provider's native result document exactly as Router returns it: Router does not validate, narrow or re-envelope the response, so the output schema is descriptive rather than enforced, and Comfy owns no output shape of its own.","version":"377641fc1c5d"},"paths":{"/v2/models/ideogram/ideogram-v3":{"post":{"operationId":"runRouterModel","summary":"Run ideogram/ideogram-v3 synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/IdeogramV3Fields"},{"not":{"anyOf":[{"required":["style_reference_images"]},{"required":["character_reference_images"]},{"required":["character_reference_images_mask"]}]}}],"description":"The Ideogram 3.0 (V3) text-to-image fields Comfy Router accepts for `ideogram/ideogram-v3`, and the schema `routervalidate.Guard` validates a call against before it reaches Ideogram.\nIt composes `IdeogramV3Fields`, the same field set the v1 `POST /proxy/ideogram/ideogram-v3/generate` request body composes, so the two surfaces cannot drift into two shapes. It differs from the v1 surface by REFUSING the three reference-image members: they are file uploads and Comfy Router dispatches `application/json` only, so no Router call can supply them. Use the v1 `/proxy/` route with a `multipart/form-data` body for style or character references.","example":{"prompt":"A beautiful mountain landscape","rendering_speed":"TURBO"}}}}},"responses":{"200":{"description":"OK - the model's native JSON output, returned unchanged; the schema describes the provider's terminal result document as Router returns it.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/IdeogramGenerateResponse"}],"description":"Comfy Router output schema for the Ideogram models: Ideogram's generate response, forwarded unchanged. The generated images are in `data`, each with its URL at `data[].url`; `data[].is_image_safe` reports Ideogram's own moderation verdict for that image. Read the ELEMENT `url` rather than the `data` container — an element carrying a prompt echo and a seed and no URL is a non-empty array holding no image.\n`routerresult/classification.go` classifies the `ideogram /ideogram-v3/generate` and `ideogram /ideogram-v4/generate` operations as direct-return, so `POST /v2/models/ideogram/ideogram-v3` and `POST /v2/models/ideogram/ideogram-v4` answer this document on the original call — there is no task handle and no poll. `/proxy/ideogram/ideogram-v3/generate` and `/proxy/ideogram/ideogram-v4/generate` return the same document, as they always have.\nAUTHORED AHEAD OF ENABLEMENT for `ideogram/p-image-ideogram`. Router does NOT run that model today: its route accepts multipart/form-data only and `DispatchRouterTarget` dispatches application/json, so `routerresult/classification.go` deliberately has no row for `ideogram /text-to-image/p-image-ideogram` and `POST /v2/models/ideogram/p-image-ideogram` is refused with a `not_enabled` 403 before anything is validated or dispatched. The schema is published anyway because the document `/proxy/ideogram/text-to-image/p-image-ideogram` returns is already this one, so a caller reaching Ideogram through the v1 proxy can rely on it — and because a permissive `*/*` fallback would tell that caller nothing. The id is recorded in `routerOutputsPendingClassification`, which fails the build if a classification row lands and this paragraph is not removed with it.\nRouter does not re-host these images: `data[].url` is Ideogram's own link, forwarded unchanged, so it expires on Ideogram's own schedule rather than on a Comfy one.","example":{"created":"2026-01-01T00:00:00Z","data":[{"is_image_safe":true,"prompt":"A poster for a jazz festival, bold typography, warm colours","resolution":"1024x1024","seed":918273645,"style_type":"REALISTIC","url":"https://example.invalid/ideogram/ideogram-v3/generated.png"}]}}}}}}}}},"components":{"schemas":{"IdeogramGenerateResponse":{"description":"Response from the Ideogram image generation API.","properties":{"created":{"description":"Timestamp when the generation was created.","format":"date-time","type":"string"},"data":{"description":"Array of generated image information.","items":{"properties":{"is_image_safe":{"description":"Indicates whether the image is considered safe.","type":"boolean"},"prompt":{"description":"The prompt used to generate this image.","type":"string"},"resolution":{"description":"The resolution of the generated image (e.g., '1024x1024').","type":"string"},"seed":{"description":"The seed value used for this generation.","type":"integer"},"style_type":{"description":"The style type used for generation (e.g., 'REALISTIC', 'ANIME').","type":"string"},"url":{"description":"URL to the generated image.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"IdeogramStyleType":{"default":"GENERAL","enum":["AUTO","GENERAL","REALISTIC","DESIGN","FICTION"],"type":"string"},"IdeogramV3Fields":{"properties":{"aspect_ratio":{"description":"Aspect ratio in format WxH","example":"1x3","type":"string"},"color_palette":{"properties":{"members":{"description":"Explicit colors with optional weights","items":{"properties":{"color":{"description":"Hexadecimal color code","pattern":"^#[0-9A-Fa-f]{6}$","type":"string"},"weight":{"description":"Optional weight for the color (0-1)","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"type":"array"},"name":{"description":"Name of the color palette","example":"PASTEL","type":"string"}},"type":"object"},"magic_prompt":{"description":"Whether to enable magic prompt enhancement","enum":["AUTO","ON","OFF"],"type":"string"},"negative_prompt":{"description":"Text prompt specifying what to avoid in the generation","type":"string"},"num_images":{"description":"Number of images to generate","minimum":1,"type":"integer"},"prompt":{"description":"The text prompt for image generation","type":"string"},"rendering_speed":{"$ref":"#/components/schemas/RenderingSpeed"},"resolution":{"description":"Image resolution in format WxH","example":"1280x800","type":"string"},"seed":{"description":"Seed value for reproducible generation","type":"integer"},"style_codes":{"description":"Array of style codes in hexadecimal format","items":{"pattern":"^[0-9A-Fa-f]{8}$","type":"string"},"type":"array"},"style_type":{"$ref":"#/components/schemas/IdeogramStyleType"}},"required":["prompt","rendering_speed"],"type":"object"},"RenderingSpeed":{"default":"DEFAULT","description":"The rendering speed setting that controls the trade-off between generation speed and quality","enum":["DEFAULT","TURBO","QUALITY"],"type":"string"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"ideogram/ideogram-v3","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["text"],"x-comfy-router-output-modalities":["image"]}
