GPT Image 1 Mini
GPT Image 1 Mini is a lighter variant of OpenAI's GPT Image 1 model. It offers faster generation at a lower cost while retaining core capabilities including text-to-image generation, image editing, and text rendering. It is suited for high-volume workflows, rapid prototyping, and cost-sensitive applications where the full GPT Image 1 model may be excessive.
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@2 -
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.
Artisan Matchbox Label Illustration
{
"taskType": "imageInference",
"taskUUID": "cf66f2c0-1dab-4ce8-b24b-a679588236e0",
"model": "openai:1@2",
"positivePrompt": "Using the reference image as the package layout guide, create an ornate vintage matchbox label for a fictional brand called 'Golden Mantis'. Front-facing box design with intricate filigree borders, a dramatic illustrated praying mantis in emerald and amber, tiny sparks and curling smoke motifs, antique printmaking texture, aged ink, rich cream, forest green, burnt orange, and muted gold palette. Include elegant readable display text: 'GOLDEN MANTIS' large at top, 'SAFETY MATCHES' beneath it, and small text at bottom: '75 STICKS'. Highly detailed packaging artwork, authentic letterpress feel, symmetrical composition, decorative corner emblems, premium collectible ephemera aesthetic, opaque background.",
"width": 1024,
"height": 1536,
"providerSettings": {
"openai": {
"quality": "medium",
"background": "opaque"
}
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/8c830f17-de66-4dc8-be64-711e2665612e.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "cf66f2c0-1dab-4ce8-b24b-a679588236e0",
"imageUUID": "7f207035-9ee1-4e92-87c7-fe100069e1f8",
"imageURL": "https://im.runware.ai/image/os/a16d07/ws/3/ii/7f207035-9ee1-4e92-87c7-fe100069e1f8.jpg",
"cost": 0.015
}Eight-Reference Jigsaw Collage
{
"taskType": "imageInference",
"taskUUID": "f21aa7c5-fb86-46a8-9c08-2e5f66e1497b",
"model": "openai:1@2",
"positivePrompt": "Create a square jigsaw puzzle composition assembled from eight reference images. Show interlocking puzzle pieces with clean cut lines and subtle shadows between pieces, arranged into one cohesive finished puzzle viewed from directly above. Each region should clearly echo one reference image while blending harmoniously at the seams through color rhythm and composition. Include tactile cardboard texture, finely printed surface detail, and a few slightly shifted edge pieces to emphasize the puzzle concept. Bright, imaginative, richly detailed, polished commercial product photography style, highly legible piece boundaries, balanced contrast, coherent lighting.",
"width": 1024,
"height": 1024,
"providerSettings": {
"openai": {
"quality": "medium",
"background": "opaque"
}
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/7ee174c0-3e3a-4d82-917a-0661ca3974c8.jpg",
"https://assets.runware.ai/assets/inputs/c1117918-a716-4bb6-a73a-05d598f50e56.jpg",
"https://assets.runware.ai/assets/inputs/e34c3c7e-c1b3-4cef-af33-07e02354f78b.jpg",
"https://assets.runware.ai/assets/inputs/08dcd947-a5f9-48da-b48c-3d6d55f60eac.jpg",
"https://assets.runware.ai/assets/inputs/fd78b586-6142-4169-b726-82abfb3d3c0d.jpg",
"https://assets.runware.ai/assets/inputs/ddc89501-e884-4ed5-be47-1dc67339389e.jpg",
"https://assets.runware.ai/assets/inputs/a6d40c60-af65-4abd-a2ed-ec23dee6869a.jpg",
"https://assets.runware.ai/assets/inputs/0f9ecad7-c466-4fee-b3f8-3a7a6917834a.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "f21aa7c5-fb86-46a8-9c08-2e5f66e1497b",
"imageUUID": "35301ed9-0142-497e-be6a-181057fd4714",
"imageURL": "https://im.runware.ai/image/os/a07d11/ws/2/ii/35301ed9-0142-497e-be6a-181057fd4714.jpg",
"cost": 0.011
}Kite-Strewn Salt Flats Procession
{
"taskType": "imageInference",
"taskUUID": "df1e14ba-7238-4727-95d3-960fb0035dc7",
"model": "openai:1@2",
"positivePrompt": "A surreal processional scene across vast white salt flats at golden afternoon, inspired by seed 94063: dozens of giant handmade kites shaped like fish, bells, and geometric masks drifting low in the wind, their strings held by travelers in layered patchwork garments with copper ornaments and indigo scarves. In the center, a narrow wheeled platform carries a small mechanical orchard of potted citrus trees and spinning pinwheels. The ground reflects the sky like polished glass, creating elegant symmetry. Far in the distance, striped hills shimmer with heat haze and flocks of tiny birds arc overhead. Include several readable hand-painted words on kite fabric such as \"North Wind\", \"Keep Singing\", and \"Turn Home\". Style: richly detailed editorial fantasy illustration with crisp forms, expressive color contrast, tactile fabric textures, luminous atmosphere, and a sense of quiet wonder. Wide-angle composition, dynamic diagonal kite lines, highly imaginative yet believable worldbuilding.",
"width": 1536,
"height": 1024,
"providerSettings": {
"openai": {
"quality": "medium",
"background": "opaque"
}
}
}{
"taskType": "imageInference",
"taskUUID": "df1e14ba-7238-4727-95d3-960fb0035dc7",
"imageUUID": "61178dae-ff6b-414a-93aa-62f334d74d56",
"imageURL": "https://im.runware.ai/image/os/a12d13/ws/3/ii/61178dae-ff6b-414a-93aa-62f334d74d56.jpg",
"cost": 0.015
}Festival Mask Style Fusion
{
"taskType": "imageInference",
"taskUUID": "43d11cf7-6b54-4c3e-be8f-8395b161f2bf",
"model": "openai:1@2",
"positivePrompt": "Create a singular ceremonial mask design by fusing all four reference images into one cohesive object. Preserve the fox-like silhouette and carved handmade character from the wooden mask, apply porcelain surface treatment with cobalt floral brushwork and delicate crackle glaze, add selective feather accents around the brow and cheeks in saffron, magenta, teal, and cream, and incorporate intricate silver filigree trims with tiny coin and bell ornaments. Centered composition, highly detailed craftsmanship, refined studio lighting, crisp edges, elegant cultural-festival aesthetic, premium product photography feel, visually balanced and original.",
"width": 1024,
"height": 1024,
"providerSettings": {
"openai": {
"quality": "medium",
"background": "opaque"
}
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/b681fd3d-f0f5-4745-9003-6a8ce5d66c90.jpg",
"https://assets.runware.ai/assets/inputs/f2c79825-b040-4ee4-99ce-5908c65ab8be.jpg",
"https://assets.runware.ai/assets/inputs/0a2ca742-17c1-42f8-a5af-27c4bee30058.jpg",
"https://assets.runware.ai/assets/inputs/ce3f3bd8-c213-4885-aaf2-008b7613046e.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "43d11cf7-6b54-4c3e-be8f-8395b161f2bf",
"imageUUID": "a3f8b7a9-0a6b-40c7-9ffd-28708a2a8437",
"imageURL": "https://im.runware.ai/image/os/a12d13/ws/2/ii/a3f8b7a9-0a6b-40c7-9ffd-28708a2a8437.jpg",
"cost": 0.011
}