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

luma-photon-reframe-image

luma-photon-reframe-image

Luma Photon | Reframe Image. Reframe and extend images to different aspect ratios using Luma Photon AI. Triggers: luma, photon, reframe, extend image, outpainting, aspect ratio

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: luma-photon-reframe-image description: "Luma Photon | Reframe Image. Reframe and extend images to different aspect ratios using Luma Photon AI. Triggers: luma, photon, reframe, extend image, outpainting, aspect ratio" allowed-tools: Bash(curl *), WebFetch

Luma Photon | Reframe Image

Reframe and extend images to different aspect ratios using Luma Photon AI. Supports precise coordinate-based reframing, grid positioning, and prompt-guided content generation for extended areas.

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": "luma-photon-reframe-image",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/portrait-photo.jpg",
      "aspect_ratio": "16:9",
      "prompt": "Extend the scene with a modern office background"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9The aspect ratio of the reframed image. enum: 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21
grid_position_xintegerX position of the grid for reframing
grid_position_yintegerY position of the grid for reframing
image_urlstringURL of the input image to reframe
promptstringOptional prompt for reframing
x_endintegerEnd X coordinate for reframing
x_startintegerStart X coordinate for reframing
y_endintegerEnd Y coordinate for reframing
y_startintegerStart Y coordinate for reframing

Examples

Convert portrait to landscape:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "luma-photon-reframe-image",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/vertical-photo.jpg",
      "aspect_ratio": "21:9",
      "prompt": "Extend the scene naturally with matching environment on both sides"
    }
  }'

Reframe to square with grid positioning:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "luma-photon-reframe-image",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/landscape-photo.jpg",
      "aspect_ratio": "1:1",
      "grid_position_x": 50,
      "grid_position_y": 50
    }
  }'

Related Models

Documentation

Skills enregistrées