

How to Use Seedance 4.5 to Generate AI Videos
Step-by-step tutorial on using Seedance 4.5 to generate AI videos via APIMart: sign up, use Python or Node.js, write prompts, call the API and download clips.
Seedance 4.5, ByteDance's advanced AI video model, simplifies creating high-quality, short AI-generated videos by combining text, images, video clips, and audio. Accessible via APIMart, a centralized API platform, it supports resolutions up to 2K and clips lasting up to 15 seconds. Here's the process in a nutshell:
- Sign Up on APIMart: Create an account, generate an API key, and preload funds. Pricing starts at $0.02 per second for 720p.
- Set Up Your Environment: Use Python or Node.js, securely store your API key, and implement an asynchronous workflow for video generation.
- Choose the Right Model: Options range from cost-effective prototyping to high-quality cinematic outputs.
- Submit Inputs: Define clear prompts, upload reference assets, and specify parameters like resolution, duration, and aspect ratio.
- Generate and Save Videos: Download outputs promptly as URLs expire within 24 hours. Store files in permanent storage to avoid data loss.
Getting Started with Seedance 4.5 on APIMart

Creating an Account and Getting Your API Key
To get started, head over to apimart.ai and create a free account. Once you've logged in, navigate to the "API Key Management" section to generate your unique API key.
A quick but crucial note: your API key is displayed only once at the time of creation. Make sure to copy and securely store it right away because you won’t be able to retrieve it later. For security purposes, never expose your API key on the client side - keep it restricted to your server.
APIMart uses a pay-as-you-go pricing model, so you'll need to preload your account with funds before making API calls. All charges are in USD. For instance, Seedance 1.0 Pro Fast starts at $0.02 per second for 720p video, while the Quality tier costs $0.044 per second for the same resolution. When making API requests, include your key as a Bearer Token in the request header:
Authorization: Bearer YOUR_API_KEY
Setting Up Your Development Environment
Seedance on APIMart supports both Python 3.8+ and the latest LTS version of Node.js. In Python, the popular requests library is commonly used for handling HTTP calls, while in JavaScript, many developers prefer using node-fetch.
To keep things secure, store your API key in environment variables (e.g., os.getenv() in Python or process.env in Node.js) instead of hardcoding it into your scripts. Additionally, consider setting up a virtual environment for Python (python3 -m venv seedance-env) to isolate dependencies and maintain an organized workspace.
Since video generation is an asynchronous process (taking anywhere from 30 to 120 seconds), you'll need to implement a submit–poll–download loop. Poll every 5–10 seconds, and if the status is still pending, use exponential backoff to avoid unnecessary API calls. Be aware that video URLs generated by Seedance expire within 24 hours, so it's essential to download and store your output in permanent storage (such as AWS S3 or Cloudflare R2) immediately after processing is complete.
For development and testing, it’s a good idea to work with 480p resolution and short 4-second clips. This approach helps conserve credits and reduces waiting time, allowing you to fine-tune your setup before moving to higher-quality renders.
Once your environment is ready, you can choose the video model that best suits your project.
Choosing the Right Video Model
Selecting the right model depends on your priorities - whether it's cost, quality, or speed. You might start with a Fast/Lite model for drafting and then switch to a Pro/Quality model for the final version.
| Model | Price | Best For | Max Resolution |
|---|---|---|---|
| Seedance 2.0 Fast | Lower cost | Rapid prototyping, high-volume drafts | 720p |
| Seedance 1.0 Pro Quality | $0.044 per sec (720p) | Professional-grade final output | 1080p |
| Kling V3 Omni | $0.0672 per sec (720p) | Cinematic quality with multi-modal inputs | 720p |
| MiniMax Hailuo 2.3 | $0.025 per sec | Quick turnaround for budget-conscious needs | Short clips |
When choosing a model, also consider the aspect ratio of your video. For platforms like TikTok or Instagram Reels, opt for 9:16. For YouTube or presentations, go with 16:9. If you’re creating content for Instagram feed posts, 1:1 is the way to go. With Seedance 2.0, you can even use an adaptive setting that automatically selects the best ratio based on your input media.
The Complete Seedance 2.0 Tutorial for Beginners
Step-by-Step AI Video Generation Workflow

Defining Your Video Goal and Inputs
Start by outlining your video's purpose with a clear and concise director's brief. This brief should cover five key elements: subject, action, scene/atmosphere, camera movement, and style/lighting.
Keep It Simple: Focus on one action per clip (e.g., "a barista pouring latte art") to ensure smooth transitions between scenes.
Prompt Length Matters: Stick to prompts between 50 and 80 words. Anything shorter might lack detail, while longer prompts risk losing focus.
"The difference between a mediocre Seedance 2.0 output and a jaw-dropping cinematic clip usually isn't the model itself. It's whether you know how to talk to it." - Pixo [6]
If you're using reference assets like images, video clips, or audio, label them explicitly with the @ symbol (e.g., @Image1 for the main character or @Audio1 for background music). For images, go with transparent PNGs so the model concentrates on the subject. Keep video references under 15 seconds to avoid overwhelming the system. Also, be specific about lighting - terms like "golden hour," "neon backlit," or "soft overcast" can significantly enhance the final output.
Once your brief and assets are ready, you're set to generate your video through API calls. While Seedance is powerful, you can also explore Google's Veo 3.1 API for professional-grade cinematic control.
Making API Requests to Generate Videos
Using your prepared brief and assets, send a POST request to the API:
POST https://api.apimart.ai/v1/videos/generations
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Here are the key parameters you'll rely on:
| Parameter | Function | Example Value |
|---|---|---|
model | Selects the Seedance model variant | doubao-seedance-2.0 |
prompt | Your director's brief (max 4,000 chars) | "slow dolly zoom into..." |
duration | Clip length in seconds (4–15) | 5 |
resolution | Output quality | 720p |
size | Aspect ratio | 16:9 or adaptive |
generate_audio | Adds AI-synced audio | true |
seed | Ensures reproducible results | 42 |
After submitting the request, you'll get a task_id. The video won't be ready immediately, so you'll need to poll the API until the status changes to succeeded. Once it's ready, you'll receive a temporary URL to download your video.
For cost and time efficiency, a 5-second 1080p clip costs approximately $0.93 and takes 60–120 seconds to process [7]. If you're prototyping, consider using the doubao-seedance-2.0-fast model at 480p to cut down on both expenses and wait times. For alternative high-fidelity results, the Kling V3 API offers another robust option for cinematic AI video generation.
Want to create seamless sequences? Set return_last_frame to true to get the final frame of your clip. Use this frame as the first_frame input for your next request, ensuring smooth transitions between multiple clips.
Saving and Managing Video Output
Once your video is ready, download it immediately. Temporary URLs expire 24 hours after the task is completed, returning a 403 error if accessed later [7]. To avoid losing your work, upload the file to permanent storage solutions like Amazon S3 or Google Cloud Storage.
For naming files, use a consistent format. A common approach in U.S. production workflows is combining the task_id with a short prompt description (e.g., task_01KMC_barista_latte_art.mp4). This makes it easy to search your archive without needing a separate database lookup.
Here's a quick guide to file sizes for storage planning:
- 720p: 2–5 MB
- 1080p: 5–12 MB
- 2K: 10–20 MB [7]
Along with your video file, save the seed value, model version, and all parameters (resolution, duration, aspect ratio). If a URL expires before you download the file, the saved seed allows you to regenerate a similar clip without starting over. For high-volume workflows, use the callback_url parameter to get a POST notification when your video is ready - this eliminates the need for constant manual polling.
Advanced Seedance 4.5 Workflow Techniques
Using Multi-Modal Inputs in Your Workflow
Seedance 4.5 allows you to work with four input types at the same time - text, images, video clips, and audio - all within a single generation pass [3]. While most users stick to text prompts, combining all four input types unlocks the model's full range of capabilities. You can include up to 12 reference files in one generation: up to 9 images, 3 video clips, and 3 audio files [6][10].
The @ reference system helps you assign specific roles to each file. For instance, @Image1 can define a character’s appearance, @Video1 can dictate camera movement or choreography, and @Audio1 can guide lip-sync or rhythm. The model processes these inputs in a fixed priority order: audio first (for timing and lip-sync), followed by video (for motion and camera dynamics), and then images (for character and style consistency) [6].
"Text is best for spatial decisions. Reference video is best for temporal decisions." - Invideo AI [10]
For image-to-video workflows, using a transparent PNG of your subject as @Image1 and instructing the model explicitly - “Use @Image1 as the first frame” - helps eliminate randomness in the initial frames, ensuring visual consistency throughout the video [12]. When working with motion transfer, trim your reference video to 2–5 seconds of the exact movement you want to replicate. Longer clips can confuse the model by introducing unnecessary or overlapping actions [6].
For more advanced results, consider chaining models to refine your video outputs.
Chaining AI Models for Better Results
Chaining models is perfect for managing complex projects in smaller, more controlled steps. Start with keyframe generation: use an image model like Seedream 4.5 on APIMart to create a polished initial frame. Then, feed this frame into Seedance as your @Image1 reference to animate it [2][11]. This approach gives you more control over the starting composition compared to using text-to-video alone.
For longer projects, sequential extension is a useful technique. Generate an initial clip (4–15 seconds long), set return_last_frame to true, and feed the final frame from that clip into the next request. This method ensures consistency in lighting, characters, and environment across multiple segments [1][8].
A key tip when chaining models is to always assign clear roles for each input. Don’t leave the model guessing - be specific. For example, include instructions like “Reference @Video1 for the fighting choreography only” to avoid unintended influences, such as color grading or character details being carried over when they shouldn’t be [8][10].
Comparing Multi-Modal Video Strategies
The best strategy depends on your project's goals and how much control you need. Here’s a quick comparison:
| Strategy | Use Case | Complexity | Cost (USD) |
|---|---|---|---|
| Text-to-Video | Concept testing, mood exploration (using models like Grok Imagine Video) | Low | ~$0.30 |
| Image-to-Video | Product demos, character animation | Medium | ~$0.30 |
| Omni-Reference | Cinematic storytelling, brand ads | High | ~$0.80 |
| Video Extension | Long-form narratives, complex scenes | High | $0.30+ per segment |
Text-to-video is great for quickly prototyping ideas, but it may lack consistency. Image-to-video works well for anchoring visual identity, making it ideal for product demos or character-driven content. The Omni-Reference approach is your go-to for high-precision projects like brand ads, where visuals and audio need to align perfectly [9].
Optimization and Troubleshooting Tips
Writing Better Prompts and Choosing Video Settings
When working with Seedance 4.5, the way you craft your prompts can make or break the output quality. Ideally, prompts should be between 50–80 words, with the subject clearly defined in the first 20–30 words. This helps the model focus on the main idea. Short prompts (under 30 words) often lead to generic results, while overly long ones (over 100 words) tend to dilute key details[6].
A helpful structure to follow is the SCELA framework:
- Subject: Who or what is the focus?
- Context: Where and when does it take place?
- Effect: What visual style are you aiming for?
- Lighting: What mood does the lighting convey?
- Action: What movement is happening?
Including detailed lighting descriptions, like "Rembrandt lighting" or "warm fill bounce", can elevate the visual quality significantly[15].
When testing, start with a resolution of 480p to prototype your ideas efficiently. Once satisfied with the results, you can switch to 720p or higher for the final render. This iterative process is cost-effective, especially on platforms like APIMart, where testing can stay under $1.00 per clip[4][13]. For motion strength, aim for 20–30% for portraits, 40–60% for landscapes, and 70–80% for action-heavy scenes. This ensures the motion stays crisp without introducing distortion[1][16].
Avoid using the word "fast" in your prompts, as it often leads to visual glitches. Instead, describe speed through environmental details like "tires screeching", "dust kicking up", or "suspension compressing"[15].
Fixing Common Issues
If your videos aren't turning out as expected, here are some common problems and how to address them:
- Character or face drift: This happens when the subject's identity isn't properly anchored. To fix it, upload 2–4 reference images from different angles and use the
@imagetag system to lock in their appearance[6]. - Chaotic motion: Overloading a prompt with too many actions or camera moves can lead to messy visuals. Simplify each shot to one action and one camera movement for cleaner results[6][15].
- API errors: These often occur due to restricted content or the use of celebrity faces. Switching to original assets or generic character descriptions usually resolves the issue[14].
- Static camera behavior: If the camera feels lifeless, it’s likely because camera verbs are missing. Add terms like "slow dolly-in", "orbit", or "tracking shot" to introduce intentional movement[16]. Also, use positive phrasing (e.g., "sharp, crisp frames") instead of negatives like "no blur"[10].
Issue and Fix Reference Table
| Symptom | Likely Cause | Suggested Fix | Relevance to Seedance 4.5 & APIMart |
|---|---|---|---|
| Character/face drift | Missing visual anchors | Upload 2–4 reference images; use @image tags to lock identity[6] | High |
| Chaotic or mushy motion | Too many actions or camera moves stacked | Limit each shot to one action and one camera move[6][15] | Ensures motion coherence |
| Prompt overload causes key details to be overlooked | Prompt exceeds 100 words | Shorten to 60–80 words; place subject at the start[6][10] | Ensures proper model attention |
| Visual artifacts/warping | Using "fast" or overly complex body motion | Describe speed with environmental cues; use a reference video for complex moves[10][15] | Maintains temporal consistency |
| Static camera/no movement | Missing camera verbs in prompt | Add "slow dolly-in", "orbit", or "tracking shot"[16] | Enhances intentional camera movement |
| API error or rejection | Restricted content or celebrity faces | Use original assets or generic character descriptions[14] | Mitigates content restrictions |
| Subject morphing | Motion intensity set too high | Lower motion strength to 30–50% and regenerate[16] | Prevents undesired transformations |
This guide should help you fine-tune your prompts and troubleshoot common issues, ensuring smoother workflows and higher-quality results.
Conclusion
This guide walked you through the process of creating top-notch AI videos using Seedance 4.5 on APIMart. From authenticating the API to working with multi-modal inputs and chaining clips for seamless storytelling, every step was covered in detail.
The key to success lies in crafting precise prompts, fine-tuning motion settings, using references effectively, and sticking to the one-action-per-shot approach. These strategies are essential for building a smooth and efficient video production pipeline with APIMart.
A couple of standout features to remember: Seedance 4.5's built-in audio generation can save you time by eliminating the need for separate syncing - just set generate_audio to true. Additionally, the return_last_frame parameter ensures smooth transitions between clips for uninterrupted narratives. With APIMart's pay-as-you-go pricing model, which offers around 20% savings compared to standard rates [17], and its 99.9% SLA [5], you can scale your production while keeping costs manageable.
FAQs
How do I upload and tag reference images, video, and audio for Seedance?
Uploading reference assets in Seedance is simple. Head to your dashboard and use the drag-and-drop feature to add your images, videos, or audio files into the designated upload area. Once uploaded, each file is automatically given a unique identifier.
To incorporate these assets into your prompts, use the @ symbol followed by the identifier. For example, type @Image1 to use the first image as a reference frame or @Audio1 to include a specific audio file as background music. This makes it easy to control how your assets shape the final output.
What should I do if my generated video URL expires before I download it?
When using the Seedance API, keep in mind that video URLs are temporary and expire 24 hours after they’re created. Once a URL expires, it cannot be retrieved. To ensure you don’t lose access to your video, download and save it to your own storage as soon as it’s generated. If the URL has already expired, you’ll need to re-run the generation task to create the video again and get a new download link.
How can I keep the same character consistent across multiple clips?
To keep your characters looking consistent across different clips in Seedance, use the reference image system. Here's how it works:
- Upload 3-5 clear, high-resolution images of your character. Make sure these images include details like a 3/4 view and even lighting for the best clarity.
- When writing prompts, include these reference images using the @ tag (e.g.,
@Image1).
For optimal results, be consistent with your descriptions. This means sticking to the same details for the character's hair, clothing, accessories, lighting, style, and camera angles in every prompt. Consistency is key to achieving a unified look across your clips.
Related Blog Posts
Choose the model you want in the model marketplace
Try chat, image and video models in the APIMart model marketplace, and experience model capabilities quickly with one unified API.
