GPT Image 2.6
ChatGPT image model: posters, product shots, realism. 1K output; 2K and 4K are an upscale of the finished picture.
Good for: posters, product shots, logos and photo edits
How to get a better result
"A ginger cat on a windowsill, rain outside, watercolor".
"Soft sunset", "neon light", "cozy, warm tones".
Refine the description and press "Another version" — every result is new.
Pass this model in the request gpt-image-2.6-text-to-image
1. Create a task POST /api/v1/jobs/createTask
curl -X POST https://mixmedia.tech/api/v1/jobs/createTask \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-123" \
-d '{
"model": "gpt-image-2.6-text-to-image",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Minimalist coffee-shop logo with a cup and crescent moon",
"input_urls": [],
"resolution": "1K",
"aspect_ratio": "auto",
"output_format": "png",
"background": "auto",
"moderation": "low",
"quality": "auto",
"complexity": "high",
"frame_count": "9",
"frame_duration_ms": "200",
"svg_model": "gpt-5.4-mini"
}
}'import time, requests
API = "https://mixmedia.tech/api/v1"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}
task = requests.post(f"{API}/jobs/createTask", headers=HEADERS, json={
"model": "gpt-image-2.6-text-to-image",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Minimalist coffee-shop logo with a cup and crescent moon",
"input_urls": [],
"resolution": "1K",
"aspect_ratio": "auto",
"output_format": "png",
"background": "auto",
"moderation": "low",
"quality": "auto",
"complexity": "high",
"frame_count": "9",
"frame_duration_ms": "200",
"svg_model": "gpt-5.4-mini"
}
}).json()
task_id = task["data"]["taskId"]
while True:
info = requests.get(f"{API}/jobs/recordInfo", headers=HEADERS, params={"taskId": task_id}).json()["data"]
if info["state"] in ("success", "fail"):
break
time.sleep(4)
print(info["state"], info.get("resultJson") or info.get("failMsg"))const API = "https://mixmedia.tech/api/v1";
const headers = { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" };
const { data } = await fetch(`${API}/jobs/createTask`, {
method: "POST", headers,
body: JSON.stringify({
"model": "gpt-image-2.6-text-to-image",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Minimalist coffee-shop logo with a cup and crescent moon",
"input_urls": [],
"resolution": "1K",
"aspect_ratio": "auto",
"output_format": "png",
"background": "auto",
"moderation": "low",
"quality": "auto",
"complexity": "high",
"frame_count": "9",
"frame_duration_ms": "200",
"svg_model": "gpt-5.4-mini"
}
}),
}).then((r) => r.json());
let info;
do {
await new Promise((r) => setTimeout(r, 4000));
info = (await fetch(`${API}/jobs/recordInfo?taskId=${data.taskId}`, { headers }).then((r) => r.json())).data;
} while (!["success", "fail"].includes(info.state));
console.log(info.state, info.resultJson ?? info.failMsg);Response: data.taskId. callBackUrl and Idempotency-Key are optional.
2. Status and result GET /api/v1/jobs/recordInfo
curl "https://mixmedia.tech/api/v1/jobs/recordInfo?taskId=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
data.state: waiting, queuing, generating, success, fail. On success data.resultJson is a JSON string with resultUrls.
3. Upload a file POST /api/v1/files/upload
curl -X POST https://mixmedia.tech/api/v1/files/upload \
-H "Authorization: Bearer YOUR_API_KEY" -F "file=@photo.jpg"
The response has data.url. Pass that URL in the file field. Any public https URL works too.
Input fields
| Field | What to send |
|---|---|
prompt * | text, up to 32000 characters |
input_urls | list of URLs, up to 16 |
resolution | 1K · 2K · 4K · default 1K |
aspect_ratio | auto · 1:1 · 1:3 · 3:1 · 3:2 · 2:3 · 4:3 · 3:4 · 5:4 · 4:5 · 16:9 · 9:16 · 2:1 · 1:2 · 21:9 · 9:21 · default auto |
output_format | png · jpeg · webp · gif · svg · default png |
background | auto · opaque · transparent · default auto |
quality | auto · low · medium · high · xhigh · max · default auto |
complexity | low · medium · high · default high |
frame_count | 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15 · 16 · default 9 |
frame_duration_ms | 50 · 100 · 150 · 200 · 250 · 300 · 400 · 500 · default 200 |
svg_model | gpt-5.4-mini · gpt-5.6-sol · default gpt-5.4-mini |
About the model
Pictures from GPT Image 2.6 via APIMart. Great at realistic photos, posters, product shots and neat lettering. 1K / 2K / 4K (2K and 4K upscaled on our server from 1K). You can also add your own photos.


