Luma Photon Flash Reframe
6.00 credits/megapixel
ae_luma_photon_flash_reframe
Reframe an image for a new aspect ratio, with optional prompt and positioning controls to guide the composition.
6.00 credits/megapixel
Pricing
6.00 credits per megapixel processed for image reframing. Target framing and processing dimensions affect the total.
6.00 credits/megapixel
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.x_end | integer | unknown | No | End X coordinate for reframing | — |
request_body.y_end | integer | unknown | No | End Y coordinate for reframing | — |
request_body.prompt | string | unknown | No | Optional prompt for reframing | — |
request_body.x_start | integer | unknown | No | Start X coordinate for reframing | — |
request_body.y_start | integer | unknown | No | Start Y coordinate for reframing | — |
request_body.image_url | string | Yes | URL of the input image to reframe | — |
request_body.aspect_ratio | enum (1:1 | 16:9 | 9:16 | 4:3 | 3:4 | 21:9 | 9:21) | Yes | The aspect ratio of the reframed image | — |
request_body.grid_position_x | integer | unknown | No | X position of the grid for reframing | — |
request_body.grid_position_y | integer | unknown | No | Y position of the grid for reframing | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_luma_photon_flash_reframe' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"image_url": "https://storage.googleapis.com/falserverless/gallery/example_inputs_liuyifei.png",
"aspect_ratio": "16:9"
}
}
}'No response example available yet.






