Skip to content

Replace bg 3.0 (背景替换)

概览

  • 请求方法:POST
  • 路径:/task/ideogram/v1/ideogram-v3/replace-background
  • 内容类型:multipart/form-data

认证方式

  • Authorization: Bearer sk-xxx(必选)

请求示例

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

表单字段

参数类型必填说明
imagefile源图像
promptstring提示词
modelstring参考官方文档 https://developer.ideogram.ai/api-reference/api-reference/replace-background-v3

返回示例(200)

json
{}