cURL
Transformation
Image-to-Image Price Calculation
Endpoint for calculating price for img2img inference
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Available options:
application/json Body
application/json
Image generation parameters
The main prompt for image generation
Example:
"A beautiful sunset over mountains"
The model to use for generation
Example:
"QwenImageEdit_Plus_NF4"
Number of inference steps
Example:
20
Random seed for generation
Example:
42
Elements to avoid in the generated image
Example:
"blur, darkness, noise"
Array of LoRA models to apply
Guidance scale for the generation
Example:
7.5
Response
Calculated price for img2img inference.