Text to Image
gpt-image-1-5
GPT Image 1.5
Quick start
Submit a request with this public model ID. The API immediately returns a normalized job; poll GET /v1/jobs/{jobId} while its status is queued or running.
curl -X POST "https://api.artany.ai/v1/images/generations" \
-H "Authorization: Bearer $ARTANY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: unique-request-id" \
-d '{"model":"gpt-image-1-5","prompt":"A cinematic coastal village at sunrise","size":"1:1","count":1,"quality":"auto","background":"auto","moderation":"auto","output_format":"png"}'Request
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for an Artany API key. |
| Content-Type | Yes | Must be application/json. |
| Idempotency-Key | Recommended | 8–128 characters. Reusing it with an identical request prevents duplicate jobs and charges. |
Body
{
"model": "gpt-image-1-5",
"prompt": "A cinematic coastal village at sunrise",
"size": "1:1",
"count": 1,
"quality": "auto",
"background": "auto",
"moderation": "auto",
"output_format": "png"
}Request Parameters
Only fields in this model’s public request contract are shown. Defaults are applied before validation and quoting.
Stable public model ID for this request.
Text description for image generation. Chinese and English are supported.
Length: 1–12000
Output aspect ratio. Use 1:1, 3:2, or 2:3.
Allowed: 1:1, 2:3, 3:2
Number of images to generate.
Range: 1–4
Note:Use a plain JSON number. Values below 1 are treated as 1 and values above 4 are treated as 4.
Image quality tier.
Allowed: auto, low, medium, high
- auto selects quality automatically; low prioritizes speed and cost; medium balances output; high prioritizes quality.
Background rendering mode.
Allowed: auto, opaque, transparent
Note:Transparent background cannot be combined with jpeg output. Use png when transparency is required.
Moderation level applied to the request.
Allowed: auto, low
Requested image format.
Allowed: png, jpeg
- png is the default and suits transparency; jpeg produces a smaller general-purpose file.
JPEG output compression level.
Range: 0–100
Note:Use compression only with jpeg output; it is not recommended for png.
Reference images that switch the request to image-to-image mode.
Items: 1–15
- Use one image for single-reference editing or 2–15 for multi-reference fusion.
Note:Reference URLs must be publicly accessible and stable. More than 15 images are rejected.
Mask image URL for inpainting.
Note:Requires image_urls. The mask must have an alpha channel and match the first reference image dimensions.
Response and task status
A successful asynchronous submission returns HTTP 202 with a supplier-neutral job.
{
"id": "job_…",
"object": "generation.job",
"model": "gpt-image-1-5",
"status": "queued",
"progress": 0,
"output": null,
"error": null,
"billing": {
"estimated_credits": "…",
"frozen_credits": "…",
"charged_credits": "0",
"state": "frozen",
"price_version": "2026-07-18.picverse-parity"
},
"created_at": "2026-07-21T00:00:00.000Z",
"completed_at": null
}- queued / running: continue polling.
- succeeded: retrieve media URLs from
output; billing has settled. - failed / canceled: inspect
error; frozen Credits are released.
Pricing
The price shown for a matching configuration is the fixed amount settled on successful completion. Price version: 2026-07-18.picverse-parity.
| size | count | quality | Credits |
|---|---|---|---|
| 1:1 | 1 | low | 2 |
| 2:3 | 1 | low | 2 |
| 3:2 | 1 | low | 2 |
| 1:1 | 2 | low | 3 |
| 1:1 | 3 | low | 4 |
| 2:3 | 2 | low | 4 |
| 3:2 | 2 | low | 4 |
| 1:1 | 4 | low | 5 |
| 2:3 | 3 | low | 5 |
| 3:2 | 3 | low | 5 |
| 1:1 | 1 | medium | 5 |
| 2:3 | 4 | low | 7 |
| 3:2 | 4 | low | 7 |
| 2:3 | 1 | medium | 7 |
| 3:2 | 1 | medium | 7 |
| 1:1 | 2 | medium | 9 |
| 2:3 | 2 | medium | 13 |
| 3:2 | 2 | medium | 13 |
| 1:1 | 3 | medium | 14 |
| 1:1 | 4 | medium | 18 |
| 1:1 | 1 | auto | 18 |
| 1:1 | 1 | high | 18 |
| 2:3 | 3 | medium | 20 |
| 3:2 | 3 | medium | 20 |
| 2:3 | 4 | medium | 26 |
| 3:2 | 4 | medium | 26 |
| 2:3 | 1 | auto | 26 |
| 2:3 | 1 | high | 26 |
| 3:2 | 1 | auto | 26 |
| 3:2 | 1 | high | 26 |
| 1:1 | 2 | auto | 35 |
| 1:1 | 2 | high | 35 |
| 1:1 | 3 | auto | 52 |
| 1:1 | 3 | high | 52 |
| 2:3 | 2 | auto | 52 |
| 2:3 | 2 | high | 52 |
| 3:2 | 2 | auto | 52 |
| 3:2 | 2 | high | 52 |
| 1:1 | 4 | auto | 69 |
| 1:1 | 4 | high | 69 |
| 2:3 | 3 | auto | 77 |
| 2:3 | 3 | high | 77 |
| 3:2 | 3 | auto | 77 |
| 3:2 | 3 | high | 77 |
| 2:3 | 4 | auto | 103 |
| 2:3 | 4 | high | 103 |
| 3:2 | 4 | auto | 103 |
| 3:2 | 4 | high | 103 |