Skip to main content

Image Generation

The image generation endpoint allows you to generate images from text prompts. Simply provide a prompt describing the image you want to create. To see the list of models that support image generation, visit the Models page and filter by “Text to Image”.

Parameters

  • model: The model identifier to use for image generation (e.g., Qwen/Qwen-Image)
  • prompt: Text description of the image you want to generate
  • num_inference_steps: Number of inference steps (optional, defaults vary by model)