Skip to main content
POST
Submit GPT Image 2 task

Submit task

prompt is required. Omit image_urls for generation, or provide up to 10 public HTTP(S) image URLs for editing. Each accepted request produces one image.
The gateway currently charges a fixed amount regardless of size, quality, format, or input image count. Read /pricing for the current amount.

Authorizations

Authorization
string
header
required

Wizzx API key. This is not a JWT.

Body

application/json
prompt
string
required

Required prompt. The gateway enforces a 32000-byte UTF-8 limit.

Minimum string length: 1
image_urls
string<uri>[]
Maximum array length: 10

Publicly reachable HTTP(S) URL.

Pattern: ^https?://
size
enum<string>
Available options:
auto,
1024x1024,
1536x1024,
1024x1536
quality
enum<string>
Available options:
auto,
low,
medium,
high
output_format
enum<string>
Available options:
png,
jpeg,
webp

Response

Task accepted

code
enum<integer>
required
Available options:
0
message
string
required
Example:

"success"

data
object
required
request_id
string<uuid>
required