Endpoint for requesting text2img inference
slug, check specific limits and features, and verify LoRA availability. Please omit the LoRA parameter by default during initial testing.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
application/json Image generation parameters
The main prompt for image generation
"A beautiful sunset over mountains"
The model to use for image generation. Available models can be retrieved via the GET /api/v1/client/models endpoint.
"Flux1schnell"
Width of the generated image in pixels
512
Height of the generated image in pixels
512
Guidance scale for the generation
7.5
Number of inference steps
20
Random seed for generation
42
Elements to avoid in the generated image
"blur, darkness, noise"
Array of LoRA models to apply
ID of the inference request.
Information from success endpoint