{"openapi":"3.1.0","info":{"title":"Luma AI (BYOK) API","version":"0.1.0","description":"Luma AI (BYOK) lets an AI assistant read your own Luma AI data through the Luma AI API with a key you supply (Luma Dream Machine API key). Read-only: 5 tools (get_credits, list_generations, get_generation, list_concepts, ping). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to api.lumalabs.ai. Unofficial connector...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-lumaai.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-lumaai/docs"},"termsOfService":"https://connectorbay.com/byok-lumaai/terms"},"servers":[{"url":"https://byok-lumaai.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-lumaai/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_credits":{"post":{"operationId":"get_credits","summary":"Show the remaining credit balance of the Luma API account. This call does not use credits. Use for \"How many Luma API cr","description":"Show the remaining credit balance of the Luma API account. This call does not use credits. Use for \"How many Luma API credits do I have left\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_creditsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_generations":{"post":{"operationId":"list_generations","summary":"List Dream Machine generations (videos and images) of the account with state, model and result URLs. Listing does not st","description":"List Dream Machine generations (videos and images) of the account with state, model and result URLs. Listing does not start or bill anything. Use for \"What have I generated with Luma recently and did any fail\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many generations to return (default 100).","title":"Limit"},"offset":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many generations to skip, for paging.","title":"Offset"}},"title":"list_generationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_generation":{"post":{"operationId":"get_generation","summary":"Get one Luma generation by ID: state (queued, dreaming, completed, failed), failure reason, model and URLs of the finish","description":"Get one Luma generation by ID: state (queued, dreaming, completed, failed), failure reason, model and URLs of the finished video or image. Use for \"Is my Luma generation finished and where is the result\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Luma generation ID (from list_generations or the original request).","maxLength":60,"title":"Id","type":"string"}},"required":["id"],"title":"get_generationArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_concepts":{"post":{"operationId":"list_concepts","summary":"List the camera concept names Luma accepts for video generations. Use for \"Which camera concepts does Luma Dream Machine","description":"List the camera concept names Luma accepts for video generations. Use for \"Which camera concepts does Luma Dream Machine support\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_conceptsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/ping":{"post":{"operationId":"ping","summary":"Check that the Luma Dream Machine API is running; returns a short message. Use for \"Is the Luma API up\".","description":"Check that the Luma Dream Machine API is running; returns a short message. Use for \"Is the Luma API up\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"pingArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}