API介绍
Ideogram提供的文字生成图片服务,可生成准确高质量的文字和海报
API调试台
登录后,探索更多精彩功能! 点击登录
API列表 (2)
| API描述 | 接口地址 | 请求方法 | 稳定性 | 参数说明 |
|---|---|---|---|---|
Generate(文字生成图片) | POST | 稳定 | 查看详情 | |
文档详情 来自于Ideogram的文字生成图片,优势在于可以生成准确的文字和海报 价格: 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Body参数 application/jsonimage_requestobject必需 aspect_ratiostring可选 (Cannot be used in conjunction with resolution) The aspect ratio to use for image generation, which determines the image’s resolution. Defaults to ASPECT_1_1. 示例值: ASPECT_1_1magic_prompt_optionstring可选 Determine if MagicPrompt should be used in generating the request or not. Defaults to AUTO. 示例值: AUTOmodelstring可选 The model used to generate. Defaults to V_2. 示例值: V_1negative_promptstring可选 Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt. promptstring必需 The prompt to use to generate the image. resolutionstring可选 (For model_version for 2.0 only, cannot be used in conjunction with aspect_ratio) The resolution to use for image generation, represented in width x height. If not specified, defaults to using aspect_ratio. seedinteger可选 integer 0 to 2147483647 style_typestring可选 The style type to generate with; this is only applicable for models V_2 and above and should not be specified for model versions V_1. 示例值: GENERAL | ||||
Generate(文字生成图片V3) | POST | 稳定 | 查看详情 | |
文档详情 来自于Ideogram的文字生成图片,优势在于可以生成准确的文字和海报 价格: 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Body参数 application/jsonpromptstring必需 rendering_speedstring可选 Allowed values: | ||||
API价格表
| 模型 | 说明 | 302.AI价格 |
|---|
Ideogram v3 turbo | 文字生成图片 V3 Turbo |
| ||||
Ideogram v3 default | 文字生成图片 V3 Default |
| ||||
Ideogram v3 qulity | 文字生成图片 V3 Qulity |
| ||||
Generate(Ideogram 2A) | 文字生成图片 2A |
| ||||
Generate(Ideogram 2A Turbo) | 文字生成图片 2A Turbo |
| ||||
Generate(Ideogram 2.0) | 文字生成图片 2.0 |
| ||||
Generate(Ideogram 2.0 Turbo) | 文字生成图片 2.0 Turbo |
| ||||
Generate(Ideogram 1.0) | 文字生成图片 1.0 |
| ||||
Generate(Ideogram 1.0 Turbo) | 文字生成图片 1.0 Turbo |
|
