n8n

How to Generate Luma Videos Airtable Content Log?

Turn a text idea into an AI video request and log the key details in a clean Airtable record. Great for marketing and social teams that want quick creative tests and a clear audit trail of prompts and settings.

You click run, set a master prompt and aspect ratio once, and the flow adds a random camera move to keep each shot fresh. The HTTP request sends the combined prompt to Luma AI model ray 2. The response is prepared for mapping, then key fields like model, aspect, duration, and the original prompt are saved to Airtable. This creates repeatable creative testing with less guesswork and no manual copy and paste.

Setup needs a Luma AI API key and an Airtable Personal Access Token with write access to your base. Map your base and table IDs in the settings so new rows land in the right place. Expect faster ideation, more consistent records, and better tracking of which prompts and settings work. Useful for ad variants, social shorts, and storyboard drafts where speed and record keeping matter.

What are the key features?

  • On demand run with a manual trigger for controlled testing
  • Global settings store the master prompt and aspect ratio in one place
  • Code step picks a random camera motion from a curated list
  • HTTP request sends the prompt to Luma AI model ray 2 with header auth
  • Execution data step prepares the API response for easy field mapping
  • Airtable create action writes model, aspect, duration, and prompt to a row
  • Credentials use HTTP Header Auth for Luma AI and a Personal Access Token for Airtable

What are the benefits?

  • Reduce manual setup from 30 minutes to 3 minutes per video test
  • Automate 100 percent of camera move selection for shot variety
  • Unify prompts, model, aspect, and length in one Airtable record
  • Handle 5 times more creative tests in the same work session
  • Cut logging errors by 90 percent by removing copy and paste

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Luma AI and Airtable. See the Tools Required section above for links to create accounts with these services.
  3. In n8n, double click the HTTP Request node named Text 2 Video, open the Credential to connect with dropdown, click Create new credential, and follow the on screen instructions to add your Luma AI API key using HTTP Header Auth.
  4. In Airtable, create a Personal Access Token with data read and write access to the target base. Copy the token for later use.
  5. In n8n, double click the Airtable node named ADD Video Info, open the Credential to connect with dropdown, click Create new credential, choose Airtable Personal Access Token, paste your token, and save.
  6. Prepare an Airtable table for generated videos. Include fields such as Model, Aspect, Length, and Prompt so they match the node mappings.
  7. Open the Global SETTINGS node and set aspect_ratio, video_prompt, airtable_base, and airtable_table_generated_videos. Use your Airtable base ID and table ID for accurate routing.
  8. Review the Text 2 Video node to confirm the model name ray 2 and that accept is set to application/json. Ensure your credential is selected.
  9. Optionally edit the RANDOM Camera Motion code to add or remove camera moves to fit your brand style.
  10. Click Test workflow to run. Check the execution output for a valid Luma AI response and confirm the Execution Data step exposes fields used by the Airtable node.
  11. Open your Airtable base and verify a new row appears with Model, Aspect, Length, and Prompt populated.
  12. Troubleshoot common issues: 401 errors usually mean a bad API key or token, fix the credentials. Missing table errors mean the base or table IDs in Global SETTINGS need correction. Invalid aspect ratio errors require updating the aspect_ratio value.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Airtable

Sign up

Free (1,000 API calls / mo)

Luma AI

Sign up

API pay-as-you-go: Ray Flash 2 $0.24 USD per 5s 720p video

Credits:
Alex

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.