Skip to main content

Try GPT Image 1.5 in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: gpt-image-1-5 GPT Image 1.5 is an image generation model that excels in generating high-fidelity images with strong prompt adherence, while preserving composition, lighting, and fine-grained detail from input images. Some other noteworthy features of GPT Image 1.5 include image-to-image editing, support for resolutions like 1024x1024, 1536x1024, and 1024x1536, and options for adjustable quality, input fidelity, and background (auto, transparent, opaque).
MetricValue
Parameter CountUnknown
Mixture of ExpertsUnknown
Context LengthUnknown
MultilingualNo
Quantized*Unknown
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
See the image generation reference for more details.
curl -X POST https://hub.oxen.ai/api/ai/images/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "gpt-image-1-5",
  "prompt": "An ox standing in the middle of a long open road, in the snow, centered and staring at the camera. It is quietly snowing around him."
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/gpt-image-1-5

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstring"An ox standing in the middle of a long open road, in the snow, centered and staring at the camera. It is quietly snowing around him."Text description of what you want to generate, or the instruction on how to edit the given image.

Optional parameters

FieldTypeDefaultDescription
input_imagearray<string>Input images to transform or use as reference (supports multiple image urls)
output_formatstring"png"Format of the output images One of: webp, jpeg, png.
sizestring"auto"The size of the generated images. Must be one of portrait (1024x1536), landscape (1536x1024), or auto (1024x1024 or determined by model) One of: auto, square, portrait, landscape.