Diffusion-based text-to-image generative model by Stability AI. Generates and modify images based on text prompts.
Provider: All Stability AI models | Cloudflare Workers AI
https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1/chat/completions| Parameter | Type | Description |
|---|---|---|
| max_tokens | integer | Maximum tokens to generate. (≥1) |
| temperature | float | Controls randomness. Supported range varies by model. (≥0) |
| stream | boolean | Stream response chunks as they are generated. Default: false. |
Call text generation and embedding models with OpenAI-compatible client libraries using the account-scoped Workers AI base URL.
Run any Workers AI model, including image, speech, and embedding models, through the account-scoped /ai/run endpoint.
List available models, tasks, and per-model properties with the Workers AI models search API.