Skip to main content
POST
/
ideogram
/
v1
/
ideogram-v3
/
replace-background
Replace Background 3.0(replace-background)
curl --request POST \
  --url https://gptproto.com/ideogram/v1/ideogram-v3/replace-background \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "rendering_speed": "<string>"
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Overview

This endpoint provides replace background 3.0(replace-background) functionality.

Authentication

This endpoint requires authentication using a Bearer token.
Authorization
string
default:"sk-***********"
required
Your API key in the format: Bearer YOUR_API_KEY

Request Body

prompt
string
required
prompt parameter
rendering_speed
string
required
rendering_speed parameter
image
file
required
image parameter

Response

Success
200
Successful response
{
  "status": "success"
}

Error Responses

{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}