Generate high-quality images, posters, and logos with Ideogram V3. Features exceptional typography handling and realistic outputs optimized for commercial and creative use.
pip install requestsimport requests
response = requests.post(
"https://api.runflow.io/v1/run/v3",
headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
json={
"prompt": "Product packaging design for an artisan coffee bag, front label featuring the...",
"image_size": "portrait_4_3",
"expand_prompt": false,
"negative_prompt": "blurry text, misspelled, low quality, generic",
"rendering_speed": "QUALITY"
},
)
data = response.json()
print(data["images"][0]["url"])| Parameter | Type | Description |
|---|---|---|
| prompt | string | |
| num_images | integer | Number of images to generate. |
| image_size | string | The resolution of the generated image |
| style | string | The style type to generate with. Cannot be used with style_codes. |
| style_preset | string | Style preset for generation. The chosen style preset will guide the generation. |
| expand_prompt | boolean | Determine if MagicPrompt should be used in generating the request or not. |
| rendering_speed | string | The rendering speed to use. |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
| color_palette | string | A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members) |
| style_codes | string | A list of 8 character hexadecimal codes representing the style of the image. Cannot be used in conjunction with style_reference_images or style |
| seed | integer | Seed for the random number generator |
| image_urls | array | A set of images to use as style references (maximum total size 10MB across all style references). The images should be in JPEG, PNG or WebP format |
| negative_prompt | string | Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt. |
| Field | Type | Description |
|---|---|---|
| images | json | Images |
| seed | integer | Seed used for the random number generator |
Get API access in minutes. No GPU setup, no infrastructure to manage.