@radzor/image-generation
Multi-provider image generation supporting OpenAI DALL-E, Stability AI, and Replicate. Handles prompt-based generation, size options, and base64/URL output formats.
AI & MLv0.1.0typescriptpythonServerimagedallestabilityreplicategenerationaiartby Radzor
Install
View source on GitHub →$npx radzor@latest add image-generation
⚠ Constraints: Requires API key for the selected provider. Provider rate limits apply. DALL-E 3 has content policy restrictions.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| provider* | 'openai' | 'stability' | 'replicate' | — | Image generation provider to use. |
| apiKey* | string | — | API key for the selected provider.OPENAI_API_KEY |
| model | string | — | Model identifier (e.g. dall-e-3, stable-diffusion-xl-1024-v1-0). |
| defaultSize | string | 1024x1024 | Default output image dimensions (e.g. 1024x1024, 512x512). |
| responseFormat | 'url' | 'base64' | url | Whether to return a URL or base64-encoded image data. |
provider