If you're looking for an API, here is a sample code in NodeJS to help you out.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const axios = require('axios');
const api_key = "YOUR API KEY";
const url = "https://api.segmind.com/workflows/670d2cb6f552c2dfdc9172e3-v2";
const data = {
quote: "the user input string"
};
axios.post(url, data, {
headers: {
'x-api-key': api_key,
'Content-Type': 'application/json'
}
}).then((response) => {
console.log(response.data);
});
1
2
3
4
5
{
"poll_url": "<base_url>/requests/<some_request_id>",
"request_id": "some_request_id",
"status": "QUEUED"
}
You can poll the above link to get the status and output of your request.
1
2
3
4
5
{
"audio_uoqkol": "any user input string",
"video_y8oze": "any user input string",
"video": "any user input string"
}
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
Transform your ideas into captivating shorts effortlessly with Auto Shorts Generator for social media platforms like Youtube, Tiktok & Instagram. This powerful workflow allows you to create faceless shorts without the need for expensive equipment or on-camera presence. Simply input your text prompts, and the AI handles the rest—generating scripts, creating scenes, adding voiceovers, subtitles, and editing the entire video.
Effortlessly merge audio and video with our intuitive Video Audio Merge model. Create stunning multimedia content with precise timing, fade effects, and customizable audio options. Perfect for content creators, filmmakers, and marketers.
MusicGen: Transform text into music with AI. Create unique, high-quality audio from simple descriptions. Experience the future of music generation with this innovative AI model.
With Video Captioner create accurate, customizable subtitles for your videos effortlessly.
Revolutionize your video editing with the Video Stitch Model. Seamlessly stitch clips, add captivating audio, and create professional-looking videos in minutes.
Luma Video (Text to Video) is an advanced AI model that turns text prompts into captivating videos. Designed for creators and marketers, it offers high-resolution outputs, rapid processing, and cinematic quality, making video production accessible and efficient.
Eleven Labs Text-to-Speech (TTS) harnesses the power of deep learning to create realistic and engaging synthetic speech from written text.
GPT-4o (“o” for “omni”) is our most advanced model. It is multimodal (accepting text or image inputs and outputting text), and it has the same high intelligence as GPT-4 Turbo but is much more efficient—it generates text 2x faster and is 50% cheaper. Additionally, GPT-4o has the best vision and performance across non-English languages of any of our models. GPT-4o is available in the OpenAI API to paying customers.