Volver al catálogo

Luma Labs

luma_labs

Create and manage AI image and video generations and reusable files through the current Luma Agents API.

Acciones
11
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (11)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Delete FileLUMA_LABS_DELETE_FILEAcción

Soft-delete a Luma file so new generations cannot reference it. The file's metadata remains retrievable with state=deleted.

Parámetros de entrada

  • file_idstringObligatoriouuid

    Luma file ID to soft-delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit ImageLUMA_LABS_EDIT_IMAGEAcción

Submit a paid, asynchronous Luma image-edit job. Returns immediately; use GET_GENERATION with generation_id to monitor it.

Parámetros de entrada

  • modelstringenum

    Image model. uni-1-max produces higher-quality output at a higher price.

    uni-1uni-1-max
  • stylestringenum

    Image style preset.

    automanga
  • promptstringObligatorio

    Instructions for editing the source image.

  • sourceobjectObligatorio

    Image to edit.

  • user_idstring

    Opaque, non-PII end-user identifier for usage and abuse attribution.

  • image_refobject[]

    Additional reference images for style or content guidance; up to 8.

  • web_searchboolean

    Allow web search for grounding and reference images.

  • output_formatstringenum

    Requested image output format.

    pngjpeg

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit VideoLUMA_LABS_EDIT_VIDEOAcción

Submit a paid, asynchronous Ray 3.2 video-edit job. Returns immediately; use GET_GENERATION with generation_id to monitor it.

Parámetros de entrada

  • videoobject

    Ray 3.2 video-edit options.

  • promptstringObligatorio

    Instructions for editing the source video.

  • sourceobjectObligatorio

    Video to edit; URL/data sources require video/* media_type.

  • user_idstring

    Opaque, non-PII end-user identifier for usage and abuse attribution.

  • web_searchboolean

    Allow web search for grounding and reference images.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Extract Image LayersLUMA_LABS_EXTRACT_IMAGE_LAYERSAcción

Submit a paid, asynchronous Luma image layer-extraction job. Pricing is flat per generation at the selected resolution, regardless of layer count; use GET_GENERATION with generation_id to monitor the job.

Parámetros de entrada

  • promptstringObligatorio

    Optional instructions for decomposing the source image into layers; pass an empty string for automatic decomposition.

  • sourceobjectObligatorio

    Image to decompose into layers.

  • user_idstring

    Opaque, non-PII end-user identifier for usage and abuse attribution.

  • layeringobject

    Layer extraction output options.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate ImageLUMA_LABS_GENERATE_IMAGEAcción

Submit a paid, asynchronous Luma image generation job. Returns immediately; use GET_GENERATION with generation_id to monitor it.

Parámetros de entrada

  • modelstringenum

    Image model. uni-1-max produces higher-quality output at a higher price.

    uni-1uni-1-max
  • stylestringenum

    Image style preset.

    automanga
  • promptstringObligatorio

    Image generation instructions.

  • user_idstring

    Opaque, non-PII end-user identifier for usage and abuse attribution.

  • image_refobject[]

    Reference images for style or content guidance; up to 9.

  • web_searchboolean

    Allow web search for grounding and reference images.

  • aspect_ratiostringenum

    Requested output aspect ratio.

    3:12:116:93:21:12:39:161:21:3
  • output_formatstringenum

    Requested image output format.

    pngjpeg

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate VideoLUMA_LABS_GENERATE_VIDEOAcción

Submit a paid, asynchronous Ray 3.2 video generation job. Returns immediately; use GET_GENERATION with generation_id to monitor it.

Parámetros de entrada

  • videoobject

    Ray 3.2 video generation options.

  • promptstringObligatorio

    Video generation instructions.

  • user_idstring

    Opaque, non-PII end-user identifier for usage and abuse attribution.

  • web_searchboolean

    Allow web search for grounding and reference images.

  • aspect_ratiostringenum

    Requested output aspect ratio.

    9:163:41:14:316:921:9

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get FileLUMA_LABS_GET_FILEAcción

Get a Luma file's metadata and current ingest, moderation, or deletion state. Soft-deleted files remain retrievable with state=deleted.

Parámetros de entrada

  • file_idstringObligatoriouuid

    Luma file ID returned by UPLOAD_FILE or LIST_FILES.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get GenerationLUMA_LABS_GET_GENERATIONAcción

Get the current state, failure details, and output URLs for a Luma generation.

Parámetros de entrada

  • generation_idstringObligatoriouuid

    Generation ID returned by a Luma image, video, edit, reframe, or layer-extraction tool.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List FilesLUMA_LABS_LIST_FILESAcción

List files in the connected Luma account, newest first, with optional state and purpose filters. Returns one page and a cursor for continuation.

Parámetros de entrada

  • limitinteger

    Maximum files to return in this page (1-100).

  • statestringenum

    Return only files in this ingest or deletion state.

    pendingreadyfaileddeleted
  • cursorstring

    Opaque next_cursor from a previous LIST_FILES response.

  • purposestringenum

    Return only files with this purpose.

    inputreference

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reframe VideoLUMA_LABS_REFRAME_VIDEOAcción

Submit a paid, asynchronous Ray 3.2 video-reframe job. Returns immediately; use GET_GENERATION with generation_id to monitor it.

Parámetros de entrada

  • videoobject

    Ray 3.2 video-reframe options.

  • promptstringObligatorio

    Instructions for reframing the source video.

  • sourceobjectObligatorio

    Video to reframe; URL/data sources require video/* media_type.

  • user_idstring

    Opaque, non-PII end-user identifier for usage and abuse attribution.

  • web_searchboolean

    Allow web search for grounding and reference images.

  • aspect_ratiostringObligatorioenum

    Required output aspect ratio.

    9:163:41:14:316:921:9

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload FileLUMA_LABS_UPLOAD_FILEAcción

Directly upload file bytes to Luma and return the file ID, metadata, and current upload/ingest state.

Parámetros de entrada

  • fileobjectObligatorio

    File whose bytes will be uploaded to Luma.

  • purposestringenum

    How the file will be used: input for primary source material or reference for style and content guidance.

    inputreference
  • user_idstring

    Optional opaque, non-PII end-user identifier for abuse attribution.

  • expires_atstringdate-time

    Optional ISO 8601 time after which Luma may delete the file.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not