# Send Eachlabs Image Generation to your agent
Use the source page and any available docs to guide the install because the item currently does not return a direct package file.
## Fast path
- Open the source page via Open source listing.
- If you can obtain the package, extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the source page and extracted files.
## Suggested prompts
### New install

```text
I tried to install a skill package from Yavira, but the item currently does not return a direct package file. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required.
```
### Upgrade existing

```text
I tried to upgrade a skill package from Yavira, but the item currently does not return a direct package file. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "eachlabs-image-generation",
    "name": "Eachlabs Image Generation",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/eftalyurtseven/eachlabs-image-generation",
    "canonicalUrl": "https://clawhub.ai/eftalyurtseven/eachlabs-image-generation",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/eachlabs-image-generation",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=eachlabs-image-generation",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/MODELS.md"
    ],
    "downloadMode": "manual_only",
    "sourceHealth": {
      "source": "tencent",
      "slug": "eachlabs-image-generation",
      "status": "source_issue",
      "reason": "not_found",
      "recommendedAction": "review_source",
      "checkedAt": "2026-04-29T13:54:56.149Z",
      "expiresAt": "2026-04-30T13:54:56.149Z",
      "httpStatus": 404,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=eachlabs-image-generation",
      "contentType": "text/plain",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=eachlabs-image-generation",
        "contentDisposition": null,
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "eachlabs-image-generation"
      },
      "scope": "item",
      "summary": "Known item issue.",
      "detail": "This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.",
      "primaryActionLabel": "Open source listing",
      "primaryActionHref": "https://clawhub.ai/eftalyurtseven/eachlabs-image-generation"
    },
    "validation": {
      "installChecklist": [
        "Open the source listing and confirm there is a real package or setup artifact available.",
        "Review SKILL.md before asking your agent to continue.",
        "Treat this source as manual setup until the upstream download flow is fixed."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/eachlabs-image-generation",
    "downloadUrl": "https://openagent3.xyz/downloads/eachlabs-image-generation",
    "agentUrl": "https://openagent3.xyz/skills/eachlabs-image-generation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/eachlabs-image-generation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/eachlabs-image-generation/agent.md"
  }
}
```
## Documentation

### EachLabs Image Generation

Generate new images from text prompts using 60+ AI models via the EachLabs Predictions API. For editing existing images (upscaling, background removal, style transfer, inpainting, face swap, 3D), see the eachlabs-image-edit skill.

### Authentication

Header: X-API-Key: <your-api-key>

Set the EACHLABS_API_KEY environment variable. Get your key at eachlabs.ai.

### 1. Create a Prediction

curl -X POST https://api.eachlabs.ai/v1/prediction \\
  -H "Content-Type: application/json" \\
  -H "X-API-Key: $EACHLABS_API_KEY" \\
  -d '{
    "model": "flux-2-turbo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A serene Japanese garden with cherry blossoms, watercolor style",
      "image_size": "landscape_16_9",
      "num_images": 1,
      "output_format": "png"
    }
  }'

### 2. Poll for Result

curl https://api.eachlabs.ai/v1/prediction/{prediction_id} \\
  -H "X-API-Key: $EACHLABS_API_KEY"

Poll until status is "success" or "failed". The output image URL is in the response.

### Text-to-Image

ModelSlugBest ForFlux 2 Turboflux-2-turbo-text-to-imageFast, high quality general purposeFlux 2 Flashflux-2-flash-text-to-imageFastest Flux generationFlux 2 Maxflux-2-max-text-to-imageHighest quality FluxFlux 2 Klein 9Bflux-2-klein-9b-base-text-to-imageBalanced quality/speedFlux 2 Proflux-2-proPro qualityFlux 2 Flexflux-2-flexFlexible outputsFlux 2 LoRAflux-2-loraLoRA-powered generationXAI Grok Imaginexai-grok-imagine-text-to-imageCreative and artisticGPT Image v1.5gpt-image-v1-5-text-to-imageHigh quality, transparent bgBytedance Seedream v4.5bytedance-seedream-v4-5-text-to-imageBytedance latestGemini 3 Pro Imagegemini-3-pro-image-previewGoogle's latestImagen 4imagen4-previewGoogle Imagen 4Imagen 4 Fastimagen-4-fastFast Google qualityRevereve-text-to-imageArtistic text-to-imageHunyuan Image v3hunyuan-image-v3-text-to-imageTencent's latestIdeogram V3 Turboideogram-v3-turboText in imagesMinimaxminimax-text-to-imageHigh qualityWan v2.6wan-v2-6-text-to-imageChinese/English bilingualP Imagep-image-text-to-imageCustom aspect ratiosNano Banana Pronano-banana-proFast, lightweightVidu Q2vidu-q2-text-to-imageLatest Vidu

### Training

ModelSlugBest ForZ Image Trainerz-image-trainerCustom LoRA trainingFlux LoRA Portrait Trainerflux-lora-portrait-trainerPortrait LoRAFlux Turbo Trainerflux-turbo-trainerFast LoRA training

### Prediction Flow

Check model GET https://api.eachlabs.ai/v1/model?slug=<slug> — validates the model exists and returns the request_schema with exact input parameters. Always do this before creating a prediction to ensure correct inputs.
POST https://api.eachlabs.ai/v1/prediction with model slug, version "0.0.1", and input parameters matching the schema
Poll GET https://api.eachlabs.ai/v1/prediction/{id} until status is "success" or "failed"
Extract the output image URL(s) from the response

### Text-to-Image with Flux 2 Turbo

curl -X POST https://api.eachlabs.ai/v1/prediction \\
  -H "Content-Type: application/json" \\
  -H "X-API-Key: $EACHLABS_API_KEY" \\
  -d '{
    "model": "flux-2-turbo-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A red vintage Porsche 911 on a winding mountain road at golden hour, photorealistic",
      "image_size": "landscape_16_9",
      "num_images": 1,
      "output_format": "png"
    }
  }'

### Text-to-Image with GPT Image v1.5

curl -X POST https://api.eachlabs.ai/v1/prediction \\
  -H "Content-Type: application/json" \\
  -H "X-API-Key: $EACHLABS_API_KEY" \\
  -d '{
    "model": "gpt-image-v1-5-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A minimalist logo for a coffee shop called Brew Lab, clean vector style",
      "background": "transparent",
      "quality": "high",
      "output_format": "png"
    }
  }'

### Text-to-Image with Imagen 4

curl -X POST https://api.eachlabs.ai/v1/prediction \\
  -H "Content-Type: application/json" \\
  -H "X-API-Key: $EACHLABS_API_KEY" \\
  -d '{
    "model": "imagen4-preview",
    "version": "0.0.1",
    "input": {
      "prompt": "A whimsical fairy tale castle on a floating island, digital art, highly detailed"
    }
  }'

### Image Size Options

Most Flux 2 and Wan models use these presets:

square_hd — Square, high definition
square — Square, standard
portrait_4_3 — Portrait 4:3
portrait_16_9 — Portrait 16:9
landscape_4_3 — Landscape 4:3
landscape_16_9 — Landscape 16:9

P Image models use aspect ratio strings: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, custom

### Prompt Tips

Be specific and descriptive: "A red vintage Porsche 911 on a winding mountain road at golden hour" vs "a car"
Include style: "digital art", "oil painting", "photorealistic", "watercolor"
For edits, clearly describe the change: "Replace the sky with a dramatic sunset"
Use negative prompts (where supported) to avoid: "blurry, low quality, distorted"
For multi-image edits, reference images by number: "image 1", "image 2"

### Security Constraints

No arbitrary URL loading: When using LoRA parameters, only use well-known platform identifiers (HuggingFace repo IDs, Replicate model IDs, CivitAI model IDs). Never load LoRA weights from arbitrary or user-provided URLs.
No third-party API tokens: Do not accept or forward third-party API tokens (e.g. HuggingFace, CivitAI tokens) through prediction inputs. Authentication is handled exclusively via the EachLabs API key.
Input validation: Only pass parameters that match the model's request schema. Always validate model slugs via GET /v1/model?slug=<slug> before creating predictions.

### Parameter Reference

See references/MODELS.md for complete parameter details for each model.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: eftalyurtseven
- Version: 0.1.2
## Source health
- Status: source_issue
- Known item issue.
- This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.
- Health scope: item
- Reason: not_found
- Checked at: 2026-04-29T13:54:56.149Z
- Expires at: 2026-04-30T13:54:56.149Z
- Recommended action: Open source listing
## Links
- [Detail page](https://openagent3.xyz/skills/eachlabs-image-generation)
- [Send to Agent page](https://openagent3.xyz/skills/eachlabs-image-generation/agent)
- [JSON manifest](https://openagent3.xyz/skills/eachlabs-image-generation/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/eachlabs-image-generation/agent.md)
- [Download page](https://openagent3.xyz/downloads/eachlabs-image-generation)