cloudflare-image-gen
expysf98 द्वारा
DevOps & Cloudसंक्षिप्त
Generate images using Cloudflare Workers AI flux-1-schnell model.
विवरण
यह स्किल क्या करती है
Generates images from text prompts using Cloudflare Workers AI with the flux-1-schnell model. Runs via a Python script and saves output as PNG files.
Uses Cloudflare's hosted inference so no local GPU or separate image service account is needed beyond the provided credentials.
इसे कब इस्तेमाल करें
- Generate a product mockup image from a description
- Create an illustration for a blog post
- Produce reference art for a design brief
- Generate avatars or icons on demand
- Visualize a scene described in plain text
उदाहरण वर्कफ़्लो
User asks: 'Generate an image of a sunset over mountains'
- 1
Call generate_image() with the prompt 'a sunset over mountains'
- 2
Cloudflare Workers AI runs the flux-1-schnell model
- 3
Script receives the binary response and writes it to a PNG file
- 4
Return the output file path
PNG file saved locally, path returned to caller
आवश्यकताएँ
- Cloudflare account with Workers AI enabled
- Cloudflare Account ID
- Cloudflare API token with Workers AI permissions
इंस्टॉलेशन
clawhub install expysf98/cloudflare-image-genCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।