Luma Dream Machine

April 6, 2026

Table of contents

  1. Create a Luma account
  2. Subscribe to a plan
  3. Extract session cookie
    1. 1. Open Developer Tools before logging in
    2. 2. Capture the session cookie from login response
  4. Verify and add account

Approximately 15 minutes to complete setup steps.


This is the setup guide for Luma API. This is an experimental API. An active Luma Dream Machine subscription and a useapi.net subscription are required for the API to work.

Luma Dream Machine creates AI-generated videos and images using Luma AI’s proprietary models. Video models: Ray v3, Ray v3 Flash, and Ray v3 Reasoning. Image models: Photon v2 and Image v2.

Create a Luma account

⚠️ Use a dedicated email account for this API β€” do NOT use your personal email.

You must create your account using the email + password option (called Enterprise Sign In on Luma’s login page). Google Sign In and Apple Sign In will not work β€” the API needs the session cookie which is only available through the email/password login flow.

  1. Navigate to https://dream-machine.lumalabs.ai
  2. Click Enterprise Sign In (bottom option on the login page)
  3. Enter your dedicated email address β†’ click Continue
  4. Set a password β†’ click Sign In
  5. Verify your email if prompted

Subscribe to a plan

You can test the API with a free account (limited to draft resolution, 1 concurrent slot), but most models and higher resolutions require a paid subscription. The Unlimited plan ($99.99/mo) is recommended β€” it provides unlimited generations at all resolutions with 4 concurrent slots.

  1. Navigate to https://dream-machine.lumalabs.ai and log in
  2. Go to your account settings or subscription page
  3. Select a plan and complete the subscription process

You only need to extract one value β€” the session cookie (~25 characters). The API derives everything else automatically.

You need to open Developer Tools before logging in, because the cookie is set during the login response.

1. Open Developer Tools before logging in

  1. Navigate to https://dream-machine.lumalabs.ai 1 β€” log out first if you’re already logged in
  2. Open Developer Tools (F12) β†’ go to the Network tab 2
  3. Check Preserve log 3 and Disable cache 4 at the top of the Network tab
  4. Click Enterprise Sign In and log in with your email and password 5

Developer Tools with Preserve log and Disable cache enabled

  1. In the Network tab, filter by /password 1 to find the request POST https://auth.lumalabs.ai/password 2
  2. Click on it β†’ Headers tab 3 β†’ scroll to Response Headers β†’ look for Set-Cookie entries
  3. Copy the value of the session cookie 4 (a short random string, ~25 characters):

POST /password response showing session Set-Cookie header

Cookie Looks like Description
session mK8jP2xZc9AfQw3LnT7vYbE1R (~25 chars) session cookie β€” this is the only value you need

Verify and add account

Use the form below to add your Luma account. You can also use POST /accounts directly.