Luma Photon

22.80 credits/megapixel
ae_luma_photon

Generate an image from a text prompt in your chosen aspect ratio.

Image
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.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.promptstringYesNo parameter description.—
request_body.aspect_ratioenum (16:9 | 9:16 | 1:1 | 4:3 | 3:4 | 21:9 | 9:21)NoThe aspect ratio of the generated video1:1

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request 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.