eachlabs-image-generation
由 eftalyurtseven 提供
Image & Video Generation简介
Generate images with Flux, GPT Image, Gemini, Imagen.
描述
该技能的功能
Generates images from text prompts using 60+ AI models via the EachLabs Predictions API. Supports model families including Flux, GPT Image, Gemini, Imagen, Seedream, and Ideogram. Uses an async prediction flow: submit a job, poll for the result, then retrieve the output URL.
Access to 60+ models from multiple providers through a single API key and unified request schema eliminates the need to manage separate accounts and integrations for each model family.
何时使用
- Generate product mockup images from a description
- Create social media visuals from a text brief
- Prototype logo concepts with transparent backgrounds
- Produce illustrations for blog posts or presentations
- Generate training dataset images with specific visual styles
示例工作流
User asks: Generate a photorealistic image of a red vintage Porsche 911 on a mountain road at golden hour, landscape format
- 1
Validate the target model by calling GET /v1/model?slug=flux-2-turbo-text-to-image to confirm the slug and retrieve the request schema
- 2
Submit a POST to /v1/prediction with the model slug, version 0.0.1, prompt, image_size set to landscape_16_9, and output_format png
- 3
Poll GET /v1/prediction/{id} every few seconds until status is success or failed
- 4
Extract the output image URL from the response and return it to the user
A URL pointing to the generated PNG image hosted on EachLabs infrastructure
前置要求
- EACHLABS_API_KEY environment variable
- EachLabs account at eachlabs.ai
安装
clawhub install eftalyurtseven/eachlabs-image-generation运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。