Dream Machine API / enabling state of the art video generation from texts or images

PiAPI's unofficial API for Dream Machine (released by Luma Labs) enables developers like you to bring the best video generation capabilities to your users!

Features

Image Upload Supported
Want to generate videos based on your prompts and the desired image you have in mind? Pass the image URL into the prompt parameter and get started from there!
Enhance Prompt Feature Supported
The API supports the "Enhance Prompt" web feature with the "expand_prompt" parameter
Extend Function Supported
Like a specific clip generated and want to extend it further? We support Dream Machine's extend feature through the API endpoint.
Bulk Generation Available
Looking to perform a large amount of text-to-video generation tasks for your own site or your own database? Contact us on Discord with your prompts and we will get back to you as soon as possible!
Pay-as-you-go and Host-your-account
Similar to our other APIs, we provide two service options for our Dream Machine API as well: Host-your-own-account if you have your own supply of Dream Machine accounts, or just purchase PiAPI credits with the Pay-as-you-go option and use our PiAPI accounts!
Asynchronous API Calls
With our asynchronous functionality, users can submit tasks and their program will keep running until the callback function triggers, thus preventing interruption to their program.
Watermark Removal

By subscribing to PiAPI's Premium Subscription Plan, users will be able to remove the "LUMA" watermark on the top right corner of the generated video.

Priority Generations

By subscribing to PiAPI's Premium Subscription Plan, users will enjoy the highest priority generations, making it an ideal option during peak load and high demand!

Commercial Use
If the users are subscribed to the Premium Plan, then the generated video outputs are then permitted to be used commerically to suit their needs.

Our Pricing Plans

"Pay-as-you-go" Option

Standard

$0.30/call
  • Access to the latest text-to-video generation API

Custom Dedicated Deployment

Contact Us
  • Faster speed & lower latency
  • Support High Concurrency
  • Priority Access & Autonomy

"Host-your-account" Option

Flat Pricing

What’s included

  • Connect your own Dream Machine accounts!
  • Access to all our Dream Machine API features
  • Hosting multiple accounts supported
  • Load Balancer for multi-accounts

Stable and Safe

$10/seat/month

Check our Pricing page for more information

Our blog

Check out our blog for related contents!

Other APIs from us!

We are the all-in-one generative AI API provider on the market, delivering all the AI APIs you need for your generative AI applications! And, we also provide
custom model deployment solutions!

An image of a futuristic jet generated by PiAPI's Midjourney API

Midjourney API

We provide the most stable and cost effective (unofficial) Midjourney API on the market, supporting two usage mode (you can host your own Midjourney account, or use our Midjourney accounts and pay-as-you-go). With fast response time and high number of concurrent jobs, our Midjourney API is a favourite among developers worldwide!

A face swapped image from PiAPI's Faceswap API

Faceswap API

Discover the power of our Faceswap API - the perfect way to add a touch of fun and interactivity to your applications. With our automatic face detection capability, high concurrency performance, and low latency, your users can effortlessly swap faces and enjoy a personalized and engaging experience!

A image of a sound wave illustrating PiAPI's Suno API

Suno API

Also check out our unofficial Suno API - the API to the best text-to-music generation model out there! Our API is compatible with V3, supports lyrics generation and high concurrency. With the “continue feature” and both “pay-as-you-go” and “host-your-account” options, it’s designed to meet the development needs of creators and builders worldwide.

Frequently asked questions

What is Dream Machine?

Dream Machine is developed by Luma Labs is an AI model that makes high quality, realistic videos fast from text and images. The generated videos physically accurate, showing consist characters, and has natural but impact shot from Luma AI.

What is the Dream Machine API?

Since Luma Lab currently does not offer Dream Machine API as part of their Luma API, therefore PiAPI took on initiative and created the unofficial Dream Machine API for developers worldwide, allowing you to embed the state-of-the-art text-to-video / image-to-video capabilities into your application or platform!

What type of videos can I make with the Dream Machine API?

Dream Machine can help your users create all types of high-quality videos, whether the starting point is a simple prompt or an image. Dream Machine can iterate incredibly fast (generating 120 frames in about 120 seconds), and output videos would have accurate real-world physics, consistent character between frames, and optimized camera trajectory matching the intent of the scene!

What are the current limitations with regarding to video generated?

As good as the current model is now, there are still some limitations. For example, in complex, action-packed scene such as a car drifting on snow-covered roads, object morphing can occur, Occasionally, objects that are supposed to be moving remain static. Accurate text displaying also requires further improvement.

Can you offer the video preview feature during the generation process?

Currently Luma does not offer this feature as part of the Dream Machine Web platform, but when they do, PiAPI will integrate this feature into our supported features.

Can I use videos generated from the Dream Machine API for commercial purposes?

According to the current Terms Of Service from Luma Labs, it seems that customer can use the outputs for commercial purposes if the outputs were produced under Customer’s paid subscription allowing for the commercial use of outputs.

Are there refunds?

No, we do not offer refunds. But when you first sign up for an account on PiAPI‘s Workspace, you are given free credits to try our Dream Machine API (specifically the "Pay-as-you-go" service) before making payments!

How can I get in touch with your team?

Please email us at contact@piapi.ai - we'd love to listen to your feedback and explore potential collaborations!