Pular para o conteúdo
TakoAPI
Voltar às skills

cloudflare-image-gen

por expysf98

DevOps & Cloud
475Downloads informados pelo clawskills.sh
0Visualizações
0 curtidaEntre para curtir esta skill
—Ainda sem avaliações
Sua avaliação

Resumo

Generate images using Cloudflare Workers AI flux-1-schnell model.

Descrição

O que esta skill faz

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.

Quando usá-la

  • 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

Exemplo de fluxo de trabalho

ENTRADA

User asks: 'Generate an image of a sunset over mountains'

AGENTE
  1. 1

    Call generate_image() with the prompt 'a sunset over mountains'

  2. 2

    Cloudflare Workers AI runs the flux-1-schnell model

  3. 3

    Script receives the binary response and writes it to a PNG file

  4. 4

    Return the output file path

SAÍDA

PNG file saved locally, path returned to caller

Requisitos

  • Cloudflare account with Workers AI enabled
  • Cloudflare Account ID
  • Cloudflare API token with Workers AI permissions

Instalação

clawhub install expysf98/cloudflare-image-gen

Execute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.

Links