Luma Photon
22.80 credits/megapixel
ae_luma_photon
Generate an image from a text prompt in your chosen aspect ratio.
22.80 credits/megapixel
Pricing
22.80 credits per megapixel processed for image generation. Larger image dimensions increase cost.
22.80 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.prompt | string | Yes | No parameter description. | — |
request_body.aspect_ratio | enum (16:9 | 9:16 | 1:1 | 4:3 | 3:4 | 21:9 | 9:21) | No | The aspect ratio of the generated video | 1:1 |
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' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"prompt": "A teddy bear in sunglasses playing electric guitar and dancing"
}
}
}'No response example available yet.






