Generate an image
generate_imageGenerate images from text prompts with Stable Diffusion models, optionally set model and dimensions, and return the image; list available models and prices on request.
Instructions
Generate an image from a text prompt with Obscurify.ai's Stable Diffusion image models (SDXL, SD 1.5 and LCM checkpoints). Returns the image. Costs a fraction of a cent per image from the account balance. Pass list: true to see the available image models and prices instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | No | List image models and prices instead of generating. | |
| seed | No | Seed for reproducible results. | |
| model | No | Image model ID (default "realvis-xl-v4", photorealistic). Others include "juggernaut-xl-v10" and "animagine-xl-v-3-1" (anime). Use list: true for all. | |
| width | No | Width in pixels (default: the model's). | |
| height | No | Height in pixels (default: the model's). | |
| prompt | No | What to draw. Required unless list is true. | |
| negative_prompt | No | Things to keep out of the image. |