Skip to main content
Orux AIOruxAI
Developer docsAPI reference

OpenAI / Image

gpt-image-2.5-sunburst

Create product photographs and illustrations from a written description.

POSThttps://orux.top/api/v1/tasks

Authorization

Pass your Orux API key in the request header. Keep keys on your server.

  • Authorization: Bearer YOUR_API_KEY
  • Content-Type: application/json

Request body

model: gpt-image-2.5-sunburst. Place model parameters inside input.

Examples use configured defaults. Replace placeholders in angle brackets with actual values.

Parameters

Fields accepted in the request body for this model.

prompttext
Required

Describe the subject, scene, style and lighting. Generates one image.

Length: ≤ 20000
image_urlsimage URL[]
Optional

Upload reference images to edit or combine; leave empty to generate from text.

Count: ≤ 16
resolutionenum
Required
Values: 1K / 2K / 4KDefault: 1K
aspect_ratioenum
Required

Auto lets the model choose. 27:16, 16:27, 9:8 and 8:9 require 1K.

Values: Auto / 1:1 / 3:2 / 2:3 / 4:3 / 3:4 / 16:9 / 9:16 / 21:9 / 27:16 / 16:27 / 9:8 / 8:9Default: auto

Response examples

Illustrative response structures. Actual content depends on the request.

Retrieve the result

Save task_id and poll the task endpoint. An accepted task has not yet finished generating.

Open playground