InstanceImageGenerationRequest
Image generation bound to one instance and persistent installation scope.
promptPrompt (string)required
background object
anyOf
- string
- null
string
modelModel (string)required
moderation object
anyOf
- string
- null
string
n object
anyOf
- integer
- null
integer
output_compression object
anyOf
- integer
- null
integer
output_formatOutput Format (string)
Possible values: [png, jpeg, webp]
Default value:
pngpartial_images object
anyOf
- integer
- null
integer
quality object
anyOf
- string
- null
string
Possible values: [high, medium, low]
response_format object
anyOf
- string
- null
string
Possible values: [url, b64_json]
sizeSize (string)
auto or an explicit WIDTHxHEIGHT canvas; the selected model validates area and alignment.
Possible values: Value must match regular expression ^(auto|[1-9][0-9]{1,3}x[1-9][0-9]{1,3})$
Default value:
autostream object
anyOf
- boolean
- null
boolean
style object
anyOf
- string
- null
string
user object
anyOf
- string
- null
string
advanced_params object
anyOf
- AdvancedImageParams
- null
seed object
anyOf
- integer
- null
integer
Possible values: >= 0
num_inference_steps object
anyOf
- integer
- null
integer
Possible values: >= 1 and <= 100
guidance object
anyOf
- number
- null
number
Possible values: >= 1 and <= 20
negative_prompt object
anyOf
- string
- null
string
num_sync_steps object
anyOf
- integer
- null
integer
Possible values: >= 1 and <= 100
benchBench (boolean)
Default value:
falseallowed_node_install_idsstring<uuid4>[]required
Persistent installation identities allowed to execute this request. Every selected instance rank must match; this grants no placement authority.
Possible values: >= 1, <= 1000
InstanceImageGenerationRequest
{
"prompt": "string",
"background": "string",
"model": "string",
"moderation": "string",
"n": 0,
"output_compression": 0,
"output_format": "png",
"partial_images": 0,
"quality": "high",
"response_format": "url",
"size": "auto",
"stream": true,
"style": "string",
"user": "string",
"advanced_params": {
"seed": 0,
"num_inference_steps": 0,
"guidance": 0,
"negative_prompt": "string",
"num_sync_steps": 0
},
"bench": false,
"allowed_node_install_ids": [
"string"
]
}