Skip to main content
POST
/
generation
/
openai
/
gpt-image-1.5
GPT Image 1.5
curl --request POST \
  --url https://open.ppt.video/api/v1/generation/openai/gpt-image-1.5 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "id": "<string>",
  "status": "starting"
}
OpenAI GPT Image 1.5 generation model

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

application/json
prompt
string
required

A text description of the desired image

webhook
string<uri>

Webhook URL for receiving updates

quality
enum<string>
default:auto

The quality of the generated image

Available options:
low,
medium,
high,
auto
user_id
string | null

An optional unique identifier representing your end-user. This helps OpenAI monitor and detect abuse.

background
enum<string>
default:auto

Set whether the background is transparent or opaque or choose automatically

Available options:
auto,
transparent,
opaque
moderation
enum<string>
default:auto

Content moderation level

Available options:
auto,
low
aspect_ratio
enum<string>
default:1:1

The aspect ratio of the generated image

Available options:
1:1,
3:2,
2:3
input_images
any[] | null

A list of images to use as input for the generation

output_format
enum<string>
default:webp

Output format

Available options:
png,
jpeg,
webp
input_fidelity
enum<string>
default:low

Control how much effort the model will exert to match the style and features, especially facial features, of input images

Available options:
low,
high
openai_api_key
string<password>

Your OpenAI API key (optional - uses proxy if not provided)

number_of_images
integer
default:1

Number of images to generate (1-10)

Required range: 1 <= x <= 10
output_compression
integer
default:90

Compression level (0-100%)

Required range: 0 <= x <= 100

Response

Generation status

id
string
required

Generation id.

status
enum<string>
required

Generation status

Available options:
starting,
processing,
succeeded,
failed,
canceled