Ideogram AI Post Generate Image V 3
36积分/次起
ae_ideogramai_post_generate_image_v_3
使用详细的文字提示词,通过 Ideogram 3.0 生成一张或多张图片。可选择宽高比或分辨率,并添加风格、参考图、配色、反向提示词、渲染速度和随机种子。图片链接会过期,请及时下载需要保留的图片。
36积分/次起
价格说明
36积分/次起
| 生成模式 | 费用 |
|---|---|
| 闪速 / 快速 | 36积分/张 |
| 标准 / 未指定 | 72积分/张 |
| 高质量 | 108积分/张 |
图片数量未填写时按1张计费。 起价对应生成模式:闪速。
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_ideogramai_post_generate_image_v_3' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"prompt": "xxx"
}
}'- 请求方式
- POST
- 接口地址
- /agent-api/v1/tool/execute
- 鉴权方式
- X-Api-Key
- 超时时间
- 60 秒
响应示例
{
"error_no": 0,
"error_msg": "",
"result": [
{
"type": "text",
"text": "xxx"
}
],
"platform_annotations": {
"source": "AgentEarth",
"platform_note": "xxx",
"platform_suggestion": "xxx"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
seed | integer | 否 | Random seed. Set for reproducible generation. | — |
prompt | string | 是 | 必填。用于生成图像的文本提示,必须是非空字符串。必须直接写清楚要生成的主体、风格、场景和关键视觉细节;禁止省略、传空字符串、数组、对象或占位符。示例:A realistic product photo of a red running shoe on a white background. | — |
num_images | integer | 否 | Number of images to generate. | 1 |
resolution | enum (512x1536 | 576x1408 | 576x1472 | 576x1536 | 640x1344 | 640x1408 | 640x1472 | 640x1536 | 704x1152 | 704x1216 | 704x1280 | 704x1344 | 704x1408 | 704x1472 | 736x1312 | 768x1088 | 768x1216 | 768x1280 | 768x1344 | 800x1280 | 832x960 | 832x1024 | 832x1088 | 832x1152 | 832x1216 | 832x1248 | 864x1152 | 896x960 | 896x1024 | 896x1088 | 896x1120 | 896x1152 | 960x832 | 960x896 | 960x1024 | 960x1088 | 1024x832 | 1024x896 | 1024x960 | 1024x1024 | 1088x768 | 1088x832 | 1088x896 | 1088x960 | 1120x896 | 1152x704 | 1152x832 | 1152x864 | 1152x896 | 1216x704 | 1216x768 | 1216x832 | 1248x832 | 1280x704 | 1280x768 | 1280x800 | 1312x736 | 1344x640 | 1344x704 | 1344x768 | 1408x576 | 1408x640 | 1408x704 | 1472x576 | 1472x640 | 1472x704 | 1536x512 | 1536x576 | 1536x640) | 否 | The resolutions supported for Ideogram 3.0. | — |
style_type | enum (AUTO | GENERAL | REALISTIC | DESIGN) | 否 | The style type to generate with. | GENERAL |
style_codes | array | 否 | A list of 8 character hexadecimal codes representing the style of the image. Cannot be used in conjunction with style_reference_images or style_type. | — |
aspect_ratio | enum (1x3 | 3x1 | 1x2 | 2x1 | 9x16 | 16x9 | 10x16 | 16x10 | 2x3 | 3x2 | 3x4 | 4x3 | 4x5 | 5x4 | 1x1) | 否 | The aspect ratio to use for image generation, which determines the image's resolution. Cannot be used in conjunction with resolution. Defaults to 1x1. Use the exact enum value with `x` as the separator, for example `3x4`, `4x3`, `16x9`, `9x16`, `1x3`, or `3x1`. Do not use colon forms like `3:4` or `16:9`, and do not use named variants like `landscape_4_3`. | — |
magic_prompt | enum (AUTO | ON | OFF) | 否 | Determine if MagicPrompt should be used in generating the request or not. | — |
style_preset | enum (80S_ILLUSTRATION | 90S_NOSTALGIA | ABSTRACT_ORGANIC | ANALOG_NOSTALGIA | ART_BRUT | ART_DECO | ART_POSTER | AURA | AVANT_GARDE | BAUHAUS | BLUEPRINT | BLURRY_MOTION | BRIGHT_ART | C4D_CARTOON | CHILDRENS_BOOK | COLLAGE | COLORING_BOOK_I | COLORING_BOOK_II | CUBISM | DARK_AURA | DOODLE | DOUBLE_EXPOSURE | DRAMATIC_CINEMA | EDITORIAL | EMOTIONAL_MINIMAL | ETHEREAL_PARTY | EXPIRED_FILM | FLAT_ART | FLAT_VECTOR | FOREST_REVERIE | GEO_MINIMALIST | GLASS_PRISM | GOLDEN_HOUR | GRAFFITI_I | GRAFFITI_II | HALFTONE_PRINT | HIGH_CONTRAST | HIPPIE_ERA | ICONIC | JAPANDI_FUSION | JAZZY | LONG_EXPOSURE | MAGAZINE_EDITORIAL | MINIMAL_ILLUSTRATION | MIXED_MEDIA | MONOCHROME | NIGHTLIFE | OIL_PAINTING | OLD_CARTOONS | PAINT_GESTURE | POP_ART | RETRO_ETCHING | RIVIERA_POP | SPOTLIGHT_80S | STYLIZED_RED | SURREAL_COLLAGE | TRAVEL_POSTER | VINTAGE_GEO | VINTAGE_POSTER | WATERCOLOR | WEIRD | WOODBLOCK_PRINT) | 否 | A predefined style preset that applies a specific artistic style to the generated image. | — |
color_palette | object | 否 | 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). Not supported by V_1, V_1_TURBO, V_2A and V_2A_TURBO models. | — |
color_palette.name | enum (EMBER | FRESH | JUNGLE | MAGIC | MELON | MOSAIC | PASTEL | ULTRAMARINE) | 是 | A color palette preset value. | — |
negative_prompt | string | 否 | Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt. | — |
rendering_speed | enum (FLASH | TURBO | DEFAULT | QUALITY) | 否 | The rendering speed to use. | DEFAULT |
style_reference_images | 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. | — |
character_reference_images | array | 否 | Generations with character reference are subject to the character reference pricing. A set of images to use as character references (maximum total size 10MB across all character references), currently only supports 1 character reference image. The images should be in JPEG, PNG or WebP format. | — |
character_reference_images_mask | array | 否 | Optional masks for character reference images. When provided, must match the number of character_reference_images. Each mask should be a grayscale image of the same dimensions as the corresponding character reference image. The images should be in JPEG, PNG or WebP format. | — |
使用该工具的指南
看看真实工作流里怎么用这个工具





