Imagen 4 fast

From awesome-genmedia/skills · View interactive version

Imagen 4 fast is an AI agent skill from the GitHub repository awesome-genmedia/skills. Imagen 4 | Fast. Generate images quickly using Google Imagen 4 Fast. High-speed AI image generation from text prompts. Triggers: imagen 4, google imagen, imagen fast, fast image generation, google image generation, imagen 4 fast

How to use this skill

Skill file

Imagen 4 | Fast

Generate images quickly using Google Imagen 4 Fast. A speed-optimized version of Google's Imagen 4 model for rapid text-to-image generation with configurable aspect ratios, output formats, and safety filters.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "imagen-4-fast",
    "version": "0.0.1",
    "input": {
      "prompt": "A photorealistic red fox sitting in a snowy forest clearing, soft winter light filtering through pine trees",
      "aspect_ratio": "16:9",
      "output_format": "jpg"
    }
  }'

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| aspect_ratio | string | 1:1 | Image aspect ratio. Options: 1:1, 9:16, 16:9, 3:4, 4:3 |

| output_format | string | jpg | Output format. Options: jpg, png |

| prompt | string | - | Text prompt for image generation |

| safety_filter_level | string | block_only_high | Safety filter level. Options: block_low_and_above, block_medium_and_above, block_only_high |

Examples

Portrait image in PNG:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "imagen-4-fast",
    "version": "0.0.1",
    "input": {
      "prompt": "Professional headshot of a confident business woman in a modern office, natural lighting, sharp focus",
      "aspect_ratio": "3:4",
      "output_format": "png"
    }
  }'

Widescreen landscape:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "imagen-4-fast",
    "version": "0.0.1",
    "input": {
      "prompt": "A vast savanna at golden hour, acacia trees silhouetted against a fiery sky, a herd of elephants walking in the distance",
      "aspect_ratio": "16:9",
      "output_format": "jpg",
      "safety_filter_level": "block_only_high"
    }
  }'

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.