PiAPI's unofficial Dream Machine API, launched by Luma Labs, equips developers with the state-of-the-art video generation tool for an enhanced user experience.
- Image Upload Supported
- Enhance Prompt Feature Supported
- Bulk Generation Available
- Pay-as-you-go and Host-your-account Options
- Asynchronous API Calls
- Watermark Removal
- Priority Generations
- Commerical Use
- Extend Function Coming Soon
To get started, simply sign up and purchase credits in our Workspace. Once done, you can immediately access our API! Our service leverages PiAPI’s Dream Machine account pools, ensuring seamless operation without any hassle on your part.
- No need for your own Dream Machine account(s) pool
- No need to manage or operate Dream Machine accounts
- Full access to all endpoints
- Start integrating the API immediately!
When you choose our Host-Your-Account service, you'll use your own Dream Machine Account(s). Then you can subscribe to PiAPI's Dream Machine API seat(s), connecting your Dream Machine account(s) to the seat(s), and you're ready for integration!
- Faster generation time
- Supports hosting of multiple accounts
- Stable API service
- Standard: $0.30/call
- Custom Dedicated Deployment: Contact us via email!
- Flat pricing: $10/seat/month
Please refer to our pricing page for more information.
- Register for PiAPI's Workspace using your GitHub account.
- Obtain your API KEY from our Workspace
- Start coding right away!
Create a Video Generation call
curl --request POST \
--url https://api.piapi.ai/api/luma/v1/video \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: ' \
--data '{
"prompt": "flying cat",
"expand_prompt": true
}'
Response
{
"code": 200,
"data": {
"task_id": "record_this_taskID"
},
"message": "success"
}
Get the Video Generation call
url --request GET \
--url https://api.piapi.ai/api/luma/v1/video/task_id \ //Replace the task_id with the returned task_id
--header 'Accept: application/json'
Response - Check out our documentation for more information!
Email: contact@piapi.ai