flux-vision-upscalerGeneration type:
image_to_imageEndpoint:
POST /api/asset_generator/
Pricing
1.0 credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.Quick start
The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files.Input parameters
Send these fields ininput_params.
string
required
The URL of the image to upscale.
object
The seed to use for the upscale. If not provided, a random seed will be used.
integer
default:20
Number of inference steps (4-50).Minimum:
4.
Maximum: 50.number
default:1
CFG/guidance scale (1-4). Controls how closely the model follows the prompt.Minimum:
1.
Maximum: 4.number
default:0.3
The creativity of the model. The higher the creativity, the more the model will deviate from the original. Refers to the denoise strength of the sampling.Minimum:
0.
Maximum: 1.number
default:2
The upscale factor (1-4x).Minimum:
1.
Maximum: 4.boolean
default:true
Whether to enable the safety checker.
Complete JSON schema
Complete JSON schema
Response
The request returns the task withstatus: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.
