Saltar al contenido
TakoAPI
Volver a skills

grok-imagine-image-pro

por nixeifoit

Image & Video Generation
618Descargas según clawskills.sh
3Estrellas
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Generiert hochwertige Bilder mit xAI Grok/Flux API.

Descripción

Qué hace esta skill

Generates images from text prompts using xAI's Grok/Flux API, outputting PNG files saved locally. Also handles style-transfer editing by using an existing image as a reference for a new generation. Supports aspect ratio selection and batch generation of up to 10 images per request.

Using base64 response format avoids temporary URL expiry issues common with other image generation APIs.

Cuándo usarla

  • Generate a product mockup image from a text description
  • Create a batch of social media thumbnails in 1:1 format
  • Apply an oil painting style to a photo from a local file
  • Generate a widescreen banner from a prompt with 2:1 aspect ratio
  • Reimagine an existing image as a pencil sketch

Flujo de trabajo de ejemplo

ENTRADA

User asks: generate a PNG of a futuristic cityscape at sunset, widescreen format

AGENTE
  1. 1

    Sets prompt to 'futuristic cityscape at sunset' and aspect_ratio to '16:9'

  2. 2

    Calls xAI /v1/images/generations endpoint with model grok-imagine-image-pro

  3. 3

    Receives base64-encoded image data in response

  4. 4

    Decodes and saves PNG to ~/.openclaw/media/generated_<timestamp>_0.png

  5. 5

    Returns the file path to the user

SALIDA

PNG file saved at ~/.openclaw/media/generated_1710000000_0.png

Requisitos

  • XAI_API_KEY environment variable

Instalación

clawhub install nixeifoit/grok-imagine-image-pro

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces