Images
Create image variation
Changed onCreate an Image Variation
post/v2/router/images/variations
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/router/images/variations
- AuthHTTP bearer
Request body multipart/form-data
Example request
{
"model": "openai/gpt-image-2",
"retry": {
"count": 3,
"on_codes": [
429,
500,
502,
503,
504
]
},
"cache": {
"ttl": 3600
},
"load_balancer": {
"models": [
{
"model": "openai/gpt-5.6-sol",
"weight": 0.7
}
]
},
"timeout": {
"call_timeout": 30000
},
"orq": {
"retry": {
"count": 3,
"on_codes": [
429,
500,
502,
503,
504
]
},
"fallbacks": [
{
"model": "openai/gpt-5.4-mini"
}
],
"prompt": {
"id": "prompt_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"version": "latest"
},
"identity": {
"id": "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"display_name": "Jane Doe",
"email": "jane.doe@example.com",
"metadata": [
{
"department": "Engineering",
"role": "Senior Developer"
}
],
"logo_url": "https://example.com/avatars/jane-doe.jpg",
"tags": [
"hr",
"engineering"
]
},
"contact": {
"id": "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"display_name": "Jane Doe",
"email": "jane.doe@example.com",
"metadata": [
{
"department": "Engineering",
"role": "Senior Developer"
}
],
"logo_url": "https://example.com/avatars/jane-doe.jpg",
"tags": [
"hr",
"engineering"
]
},
"cache": {
"ttl": 3600
},
"load_balancer": {
"type": "weight_based",
"models": [
{
"model": "openai/gpt-4o",
"weight": 0.7
},
{
"model": "anthropic/claude-3-5-sonnet",
"weight": 0.3
}
]
},
"timeout": {
"call_timeout": 30000
}
}
}Response
Represents an image variation response from the API.
Changes
- info
added the new optional request property
- info
added the new optional request property
/ - info
the
request property default value changed from1800to3600 - info
the
request property default value changed from1800to3600 - info
added the non-success response with the status
- info
- warning
removed the request property
- warning
removed the request property
/ - info
the
request property default value changed from3600to1800 - info
the
request property default value changed from3600to1800 - info
removed the non-success response with the status
- warning