L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

photon

photon

Photon. Generate high-quality images using Photon. Triggers: image generation, luma photon

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: photon description: "Photon. Generate high-quality images using Photon. Triggers: image generation, luma photon" allowed-tools: Bash(curl *), WebFetch

Photon

Generate high-quality images using Photon. Supports multiple aspect ratios (1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9), reproducible results via seed.

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": "photon",
    "version": "0.0.1",
    "input": {
      "prompt": "A stunning portrait photograph with dramatic studio lighting"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9An enumeration.. Options: 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9
character_reference_urlstringURL of a character reference image
image_reference_urlstringURL of a reference image to guide generation
image_reference_weightnumber0.85Weight of the reference image. Larger values will make the reference image have
promptstringText prompt for image generation
seedintegerRandom seed. Set for reproducible generation
style_reference_urlstringURL of a style reference image
style_reference_weightnumber0.85Weight of the style reference image

Examples

Generate a portrait:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "photon",
    "version": "0.0.1",
    "input": {
      "prompt": "A stunning portrait photograph with dramatic studio lighting"
    }
  }'

Vintage style photo:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "photon",
    "version": "0.0.1",
    "input": {
      "prompt": "A vintage film photograph of a European cafe terrace in autumn",
      "aspect_ratio": "9:16",
      "seed": 42
    }
  }'

Documentation

Skills enregistrées