Skip to content

Remix(混合图)

概览

  • 请求方法:POST
  • 路径:/ideogram/remix
  • 内容类型:multipart/form-data

认证方式

  • Authorization: Bearer sk-xxx(必选)

请求示例

Header示例必填
Content-Typemultipart/form-data
AuthorizationBearer sk-xxxx

表单字段

参数类型必填描述
image_filefile源图像(JPEG/WEBP/PNG)
image_requestobject参考生成参数,image_weight为参考图权重

返回示例(200)

json
{
  "created": "2024-10-30T22:46:49.796902+00:00",
  "data": [
    {
      "is_image_safe": true,
      "prompt": "A serene tropical beach scene at sunset...",
      "resolution": "800x1280",
      "seed": 12345,
      "style_type": "GENERAL",
      "url": "https://ideogram.ai/api/images/ephemeral/DUh04fZjQ4iZ6yGihXWd8A.png?exp=1730414816&sig=..."
    }
  ]
}