Generate or edit an image
generate_imageCreate or edit images with a Modelflare image model, then save the result to the output directory. Usage is billed to your Modelflare balance by actual usage.
Instructions
Generates an image, or edits one with edit=true, using a Modelflare image model, and saves the result to the output directory. Billed to the Modelflare balance by actual usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edit | No | Use the edits route (OpenAI-compatible image models only). | |
| model | Yes | Image model ID from list_models. | |
| prompt | Yes | ||
| parameters | No | Model-specific request fields, sent unchanged. Read the model's docs page (from list_models) for the exact fields. |