GPT Image 1
GPT Image 1 is OpenAI’s native GPT 4o image model. It creates detailed visuals from text prompts. It supports diverse styles and precise layouts. It can edit existing images with masks. It renders readable text in scenes. It suits design tools and production workflows.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: imageInference -
Identifier for the type of task being performed
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
outputType
string default: URL -
Image output type.
Allowed values 3 values
-
outputFormat
string default: JPG -
Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.
- `JPG`: Best for photorealistic images with smaller file sizes (no transparency).
- `PNG`: Lossless compression, supports high quality and transparency (alpha channel).
- `WEBP`: Modern format providing superior compression and transparency support.
**Transparency**: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., `PNG`, `WEBP`, `TIFF`). `JPG` does not support transparency.Allowed values 3 values
-
outputQuality
integer min: 20 max: 99 default: 95 -
Compression quality of the output. Higher values preserve quality but increase file size.
-
webhookURL
string URI -
Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.
Learn more 1 resource
- Webhooks PLATFORM
- Webhooks
-
deliveryMethod
string default: sync -
Determines how the API delivers task results.
Allowed values 2 values
- Returns complete results directly in the API response.
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more 1 resource
- Task Polling PLATFORM
-
uploadEndpoint
string URI -
Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.
Common use cases:
- Cloud storage: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- CDN integration: Upload to content delivery networks for immediate distribution.
// S3 presigned URL for secure upload https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600 // Google Cloud Storage presigned URL https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789 // Custom storage endpoint https://storage.example.com/uploads/generated-image.jpgThe content data will be sent as the request body to the specified URL when generation is complete.
-
safety
object -
Content safety checking configuration for image generation.
Properties 2 properties
-
safety»checkContentcheckContent
boolean default: false -
Enable or disable content safety checking. When enabled, defaults to
fastmode.
-
safety»modemode
string default: none -
Safety checking mode for image generation.
Allowed values 2 values
- Disables checking.
- Performs a single check.
-
-
ttl
integer min: 60 -
Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
-
includeCost
boolean default: false -
Include task cost in the response.
-
numberResults
integer min: 1 max: 20 default: 1 -
Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
Inputs
Input resources for the task (images, audio, etc). These must be nested inside the inputs object.
inputs object.-
inputs»referenceImagesreferenceImages
array of strings min items: 1max items: 16 -
List of reference images (UUID, URL, Data URI, or Base64).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: openai:1@1 -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required min: 1 max: 32000 -
Text prompt describing elements to include in the generated output.
Learn more 2 resources
-
Width of the generated media in pixels.
Learn more 2 resources
-
Height of the generated media in pixels.
Learn more 2 resources
Provider Settings
Parameters specific to this model provider. These must be nested inside the providerSettings.openai object.
providerSettings.openai object.-
providerSettings»openai»backgroundbackground
string default: auto -
Background handling in generated images.
Allowed values 3 values
- Automatically determines the most appropriate background based on content.
- Solid background, no transparency.
- Transparent background areas where applicable.
-
providerSettings»openai»qualityquality
string default: auto -
Image quality level.
Allowed values 4 values
- Automatically selects optimal quality based on context.
- Maximum quality with enhanced detail and refinement.
- Balanced quality suitable for most use cases.
- Faster generation with acceptable quality for rapid iteration.
Windup Orchard Harvest Tableau
{
"taskType": "imageInference",
"taskUUID": "581b618a-3399-4d68-8957-0c31b9bfd2a2",
"model": "openai:1@1",
"positivePrompt": "An elaborate storybook scene of a hillside orchard tended entirely by clockwork caretakers at first light: brass-and-wood mechanical gardeners on ladders gently picking oversized pears and apricots, copper watering beetles rolling between the rows, canvas collection baskets hanging from gear-driven branches, and a small cider cart with a clearly readable hand-painted sign that says \"ORCHARD No. 7\". In the distance, layered terraces, a stone windmill converted into a repair shed, drifting petals, and faint morning haze. Style blends classic gouache illustration with precise modern cinematic lighting, tactile brush texture, intricate metal joints, polished fruit skins, soft clouds, and whimsical but believable engineering. Wide composition, abundant depth, charming atmosphere, highly detailed, crisp focal subjects, harmonious warm greens, amber, cream, and oxidized copper tones.",
"width": 1536,
"height": 1024,
"providerSettings": {
"openai": {
"quality": "high",
"background": "opaque"
}
}
}{
"taskType": "imageInference",
"taskUUID": "581b618a-3399-4d68-8957-0c31b9bfd2a2",
"imageUUID": "f6c96e36-b496-474a-a074-ba36afbf0d37",
"imageURL": "https://im.runware.ai/image/os/a22d05/ws/3/ii/f6c96e36-b496-474a-a074-ba36afbf0d37.jpg",
"cost": 0.25
}Rainy Tram Stop Signage
{
"taskType": "imageInference",
"taskUUID": "23c525ae-b9fe-4eb4-8617-0ae8e8805bea",
"model": "openai:1@1",
"positivePrompt": "Create a detailed cinematic street scene at a rainy tram stop in a historic European-style city square. Use the reference images as inspiration: the first for the tram, wet pavement, and camera angle; the second for crisp readable transit signage; the third for surreal giant koi-shaped balloons drifting overhead. Show a red tram paused at the platform, commuters with umbrellas, puddle reflections, overhead wires, and a prominently visible stop sign with clearly readable text: 'RIVER LOOP', 'Platform B', and 'Next 6 min'. Blend realism with gentle absurdity, maintaining believable lighting and perspective. Emphasize sharp environmental detail, natural faces, accurate lettering, and a layered composition with foreground raindrops, midground passengers, and background architecture.",
"width": 1536,
"height": 1024,
"providerSettings": {
"openai": {
"quality": "high",
"background": "opaque"
}
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/e77f2c5d-e6a2-4562-b686-32aeb13653e4.jpg",
"https://assets.runware.ai/assets/inputs/fe9b0513-422a-48fe-af34-514ae3468f34.jpg",
"https://assets.runware.ai/assets/inputs/50356796-f120-4bea-a5a4-509ba21950fd.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "23c525ae-b9fe-4eb4-8617-0ae8e8805bea",
"imageUUID": "cf931a2b-c0d3-4d4e-927a-c2ba1bf191f3",
"imageURL": "https://im.runware.ai/image/os/a19d05/ws/2/ii/cf931a2b-c0d3-4d4e-927a-c2ba1bf191f3.jpg",
"cost": 0.25
}Submerged Ballroom Chess Banquet
{
"taskType": "imageInference",
"taskUUID": "2618f98c-7ed7-46bf-8bdd-073f8a4379de",
"model": "openai:1@1",
"positivePrompt": "An opulent underwater ballroom inside a sunken palace, viewed in a wide cinematic composition. A grand banquet table is arranged like a chessboard, with guests dressed as eccentric nobles and musicians, each posed like chess pieces in mid-celebration. Silver candelabras are sealed in glass domes, drifting ribbons curl through the water, and schools of tiny fish weave between crystal chandeliers. Through cracked arched windows, sea grass and distant ruins sway outside. On the central place cards and menu signage, render clearly readable text that says: \"TIDEHOUSE GRAND MATCH\" and \"Table 7\". Color palette of tarnished gold, deep teal, ivory, and coral. Highly detailed textures, elegant surrealism, dramatic depth, refined lighting beams filtering from above, crisp focal detail, imaginative yet believable staging.",
"width": 1536,
"height": 1024,
"providerSettings": {
"openai": {
"quality": "high",
"background": "opaque"
}
}
}{
"taskType": "imageInference",
"taskUUID": "2618f98c-7ed7-46bf-8bdd-073f8a4379de",
"imageUUID": "f00c2035-def7-47fe-9382-15e8fff90e71",
"imageURL": "https://im.runware.ai/image/os/a03d21/ws/2/ii/f00c2035-def7-47fe-9382-15e8fff90e71.jpg",
"cost": 0.25
}Patchwork Airship Regatta Panorama
{
"taskType": "imageInference",
"taskUUID": "e038783d-efa6-45df-ae3f-f06d3a7c435f",
"model": "openai:1@1",
"positivePrompt": "Create a sweeping wide scene of an airborne regatta above a fertile river valley, inspired by the reference images. Feature multiple handcrafted airships with patched fabric envelopes, carved wooden gondolas, braided ropes, spinning pennants, and clever mechanical details powered by wind and ballast rather than engines. Below them, show terraced fields, curved bridges, clustered hillside homes, and soft haze opening into sunlit distance. Include spectators on rooftops and hill paths waving colored streamers. One lead airship carries a crisp readable banner that says \"GRAND SKY RACE\". Emphasize tactile textiles, stitched seams, painted insignias, layered depth, and believable atmosphere. Style: whimsical yet grounded storybook realism, highly detailed, dynamic composition, warm daylight, celebratory but elegant, no futuristic city elements.",
"width": 1536,
"height": 1024,
"providerSettings": {
"openai": {
"quality": "high",
"background": "opaque"
}
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/df2fd8bd-fe32-46c8-827d-c83c1df3fa68.jpg",
"https://assets.runware.ai/assets/inputs/1f3f4502-8429-4c45-958d-2712e4c11db0.jpg",
"https://assets.runware.ai/assets/inputs/b8a07ab8-d67a-4662-a078-099984916aa1.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "e038783d-efa6-45df-ae3f-f06d3a7c435f",
"imageUUID": "629c8f87-b67d-4de1-8da3-ea488c2336e4",
"imageURL": "https://im.runware.ai/image/os/a13d12/ws/3/ii/629c8f87-b67d-4de1-8da3-ea488c2336e4.jpg",
"cost": 0.25
}