{"openapi":"3.0.2","info":{"title":"ideogram/ideogram-v4","description":"The request body Comfy Router accepts for the model \"ideogram/ideogram-v4\", 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":"1bba27e8b083"},"paths":{"/v2/models/ideogram/ideogram-v4":{"post":{"operationId":"runRouterModel","summary":"Run ideogram/ideogram-v4 synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Parameters for the Ideogram 4.0 (V4) text-to-image generation proxy request. Supply exactly one of text_prompt or json_prompt.","example":{"rendering_speed":"DEFAULT","text_prompt":"A poster for a jazz festival, bold typography, warm colours"},"minProperties":1,"properties":{"enable_copyright_detection":{"description":"Opt into post-generation copyright detection (Hive likeness and logo checks).","type":"boolean"},"json_prompt":{"additionalProperties":true,"description":"Structured V4 prompt. Disables Magic Prompt; consumed directly. Supply exactly one of text_prompt or json_prompt.","type":"object"},"rendering_speed":{"$ref":"#/components/schemas/RenderingSpeed"},"resolution":{"description":"Output resolution in WIDTHxHEIGHT. Omit to let the model pick an aspect ratio. Supported 2K values: 2048x2048, 1440x2880, 2880x1440, 1664x2496, 2496x1664, 1792x2240, 2240x1792, 1440x2560, 2560x1440, 1600x2560, 2560x1600, 1728x2304, 2304x1728, 1296x3168, 3168x1296, 1152x2944, 2944x1152, 1248x3328, 3328x1248, 1280x3072, 3072x1280.","example":"2048x2048","type":"string"},"text_prompt":{"description":"Natural-language prompt. Enables Magic Prompt automatically. Supply exactly one of text_prompt or json_prompt.","type":"string"}},"type":"object"}}}},"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":"2048x2048","seed":918273645,"style_type":"REALISTIC","url":"https://example.invalid/ideogram/ideogram-v4/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"},"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-v4","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["text"],"x-comfy-router-output-modalities":["image"]}
