v4
latestOpenAPI 3.0.22026-08-02109239415.7 KBgenerate
Generate with P-Image Ideogram
Generates images synchronously using P-Image Ideogram. quality selects the generation quality level and resolution selects the output-size tier. Both parameters have defaults.
Images links are available for a limited period of time; if you would like to keep the image, you must download them.
post/v1/text-to-image/p-image-ideogram
Request body
Example request
{
"prompt_upsampling": "ON"
}Response
Image(s) generated successfully.
Example response
{
"data": [
{
"seed": 12345,
"prompt": "prompt",
"resolution": "1024x1024",
"url": "https://ideogram.ai/api/images/ephemeral/xtdZiqPwRxqY1Y7NExFmzB.png?exp=1743867804&sig=e13e12677633f646d8531a153d20e2d3698dca9ee7661ee5ba4f3b64e7ec3f89",
"is_image_safe": true
},
{
"seed": 12345,
"prompt": "prompt",
"resolution": "1024x1024",
"url": "https://ideogram.ai/api/images/ephemeral/xtdZiqPwRxqY1Y7NExFmzB.png?exp=1743867804&sig=e13e12677633f646d8531a153d20e2d3698dca9ee7661ee5ba4f3b64e7ec3f89",
"is_image_safe": true
}
],
"created": "2000-01-23T04:56:07+00:00",
"response_type": "url"
}