{"openapi":"3.0.2","info":{"title":"ideogram/p-image-ideogram","description":"The request body Comfy Router accepts for the model \"ideogram/p-image-ideogram\", 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":"e6ede51c059e"},"paths":{"/v2/models/ideogram/p-image-ideogram":{"post":{"operationId":"runRouterModel","summary":"Run ideogram/p-image-ideogram synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Parameters for the P-Image-Ideogram text-to-image generation proxy request. The v1 `/proxy/` route reads these as multipart/form-data, which is also why Comfy Router cannot invoke this model yet: Router dispatches application/json only and refuses the call 403 not_enabled before validation. Use the v1 route until that changes.","example":{"prompt":"A beautiful mountain landscape"},"properties":{"aspect_ratio":{"description":"Aspect ratio in format WxH. Supported values: 1x3, 3x1, 1x2, 2x1, 9x16, 16x9, 10x16, 16x10, 2x3, 3x2, 3x4, 4x3, 4x5, 5x4, 1x1. Defaults to 1x1.","example":"1x1","type":"string"},"enable_copyright_detection":{"description":"Opt into post-generation copyright detection (Hive likeness and logo checks).","type":"boolean"},"prompt":{"description":"The prompt for image generation, either natural language or an Ideogram 4.0 JSON structured prompt.","type":"string"},"prompt_upsampling":{"description":"Prompt upsampling mode. Supported values are AUTO, ON, and OFF. Defaults to AUTO.","example":"AUTO","type":"string"},"quality":{"description":"Generation quality level. Supported values are VERY_LOW, LOW, MEDIUM, and HIGH. Defaults to MEDIUM.","example":"MEDIUM","type":"string"},"resolution":{"description":"Output resolution. Supported values are 1K and 2K. Defaults to 1K.","example":"1K","type":"string"},"seed":{"description":"Seed value for reproducible generation","type":"integer"}},"required":["prompt"],"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":"1024x1024","seed":918273645,"style_type":"REALISTIC","url":"https://example.invalid/ideogram/p-image-ideogram/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"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"ideogram/p-image-ideogram","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["text"],"x-comfy-router-output-modalities":["image"]}
