Seedance V1 Lite Text to Video

Seedance V1 Lite transforms text into high-quality videos, streamlining content creation for diverse applications.


API

If you're looking for an API, you can choose from your desired programming language.

POST
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 import requests import base64 # Use this function to convert an image file from the filesystem to base64 def image_file_to_base64(image_path): with open(image_path, 'rb') as f: image_data = f.read() return base64.b64encode(image_data).decode('utf-8') # Use this function to fetch an image from a URL and convert it to base64 def image_url_to_base64(image_url): response = requests.get(image_url) image_data = response.content return base64.b64encode(image_data).decode('utf-8') # Use this function to convert a list of image URLs to base64 def image_urls_to_base64(image_urls): return [image_url_to_base64(url) for url in image_urls] api_key = "YOUR_API_KEY" url = "https://api.segmind.com/v1/seedance-v1-lite-text-to-video" # Request payload data = { "duration": 5, "aspect_ratio": "16:9", "prompt": "A whimsical underwater world thriving with marine life in kaleidoscope colors.", "resolution": "720p", "seed": 56698 } headers = {'x-api-key': api_key} response = requests.post(url, json=data, headers=headers) print(response.content) # The response is the generated image
RESPONSE
image/jpeg
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


durationenum:int *

Select the length of the video in seconds. Use 5 seconds for faster rendering or standard quality outputs.

Allowed values:


aspect_ratioenum:str *

Defines the width to height ratio of the video. Use 16:9 for landscapes or 9:16 for vertical videos.

Allowed values:


promptstr *

Describe the scene or animation for the video. Try 'A whimsical underwater world thriving with marine life in kaleidoscope colors'.


resolutionenum:str *

Sets the video quality. Choose 720p for clearer visuals, suitable for larger displays.

Allowed values:


seedint ( default: 1 )

A numerical seed for consistent randomization. Use any number for varied scene generations.

min : 1,

max : 999999

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.

Utilizing Seedance V1 Lite for Efficient Text-to-Video Generation

Seedance V1 Lite, crafted by ByteDance, represents a cutting-edge tool in the realm of text-to-video AI, offering significant potential for developers, creators, and executives looking to enhance their content production processes. Here's how you can effectively leverage its capabilities.

For Developers

The model's fast and efficient inference ensures near real-time video generation, making it an excellent fit for dynamic applications. With its accessible API and JavaScript SDK, integration into existing development pipelines becomes seamless. Leverage this for automating video creation workflows or incorporating it into larger creative tools. Detailed prompts crafted during development will ensure the model produces videos with the desired semantic content, minimizing the need for costly iterations.

For Creators

Seedance V1 Lite excels in generating high-quality video content from simple textual descriptions, accommodating the need for both rapid prototyping and finished products. Its multi-shot video generation capability enables the creation of cohesive video narratives, streamlining the storytelling process. Adjust customizable settings like resolution and aspect ratio according to platform needs (e.g., social media requires different specs than longer-form content). Experimenting with different prompt configurations can lead to innovative visual outcomes, enhancing creative projects such as storyboards, music videos, or marketing clips.

For Executives

This model serves as a strategic asset by quickly generating visual content that aligns with marketing efforts and business objectives. The relatively low cost per clip allows for scalable content production, offering an attractive ROI. Seedance V1 Lite’s robustness in prompt adherence ensures that the generated content meets specific brand and messaging guidelines without extensive oversight or manual editing.

Harness Seedance V1 Lite to transform textual concepts into compelling videos effortlessly, fostering innovation and efficiency in content creation across various domains.

Cookie settings

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept all", you consent to our use of cookies.