AI Trouble Maker Video API
Create a 15-second Trouble Maker dance duet from two photos, using each person’s appearance and visible outfit. The first image represents the performer on the left when both people first appear together; the second represents the performer on the right. Full-body photos help preserve clothing and footwear. Choose the output resolution and aspect ratio for a video with generated audio.
Developer API pricing
Provider: SeeAPI
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
2K: 372 credits/gen (≈ $1.39/gen)
768P: 229 credits/gen (≈ $0.86/gen)
API examples
Real API examples: each case pairs the input images and request parameters with the output video from the same successful generation.
Example 1
Input
input.reference_images[0]
input.reference_images[1]
Output 1
Output — 2K dance video
Request JSON
{
"provider": "seeapi",
"input": {
"resolution": "2K",
"aspect_ratio": "16:9",
"reference_images": [
"https://static.seeapi.com/files/aohph6k8dgk3.jpg",
"https://static.seeapi.com/files/g7mvtuw0jvfn.jpg"
]
}
}These examples are saved API results. Actual generated results may vary.
Request
/v1/templates/ai-trouble-maker-video/generationsHeader Params
Identifies a generation request for safe retries.
- Use a new key for each new generation.
- Retry the same request with the original key and unchanged request body.
- Example:
template-order-001
Body Params
application/jsonPublic provider identifier.
- Always send "seeapi". Other values are rejected.
seeapi- Default:
seeapi- Example:
seeapi
objectrequiredInputs for the Trouble Maker dance video.
- Submit only the public fields listed below.
- Replace the example image URLs with accessible HTTPS links to your own portraits.
Inputs for the Trouble Maker dance video.
- Submit only the public fields listed below.
- Replace the example image URLs with accessible HTTPS links to your own portraits.
Photos defining the two performers’ appearance and clothing.
- Supply exactly two image URLs in an array: left performer first, right performer second, based on the first frame where both appear together.
- Use one person per image. Full-body photos with the outfit and footwear clearly visible are recommended for clothing consistency.
- Keep the face clearly visible; sunglasses, heavy occlusion and small faces reduce the available identity detail.
- Visible clothing guides each performer’s outfit. Clothing outside the image must be inferred, so a face-only portrait cannot specify a complete outfit.
- Handheld items such as bags or phones may be omitted to allow the dance interactions.
- URLs must link directly to accessible HTTPS image files without login, credentials or fragments.
- Use JPG, JPEG, PNG, WebP, HEIC or HEIF. Each image must be 30 MB or smaller.
- Width and height must each be 256–5760 px.
- The image width-to-height ratio must be 0.4–2.5, inclusive; this is separate from the output video aspect ratio.
- Example:
["https://customer.example.com/input-1.jpg","https://customer.example.com/input-2.jpg"]
Resolution of the generated video.
- Resolution affects the template price shown above. Use the exact case of the resolution value listed in the contract.
768P2K- Default:
768P- Example:
2K
Aspect ratio of the generated video.
- This controls the output video shape, independently of the dimensions and aspect ratios of your portrait images.
16:99:161:14:33:421:9adaptive- Default:
16:9- Example:
16:9
HTTPS endpoint for terminal generation notifications.
- Provide an absolute HTTPS URL when you want completion callbacks.
- Handle generation.succeeded and generation.failed, and verify webhook signatures before trusting the payload.
Responses
202Generation accepted. Save generation.id and query GET /v1/generations/{task_id} to retrieve the final result.
- HTTP 202 confirms acceptance, not completion.
- The sample estimated_credits value illustrates the response structure; it is not this template's price.
objectrequired
- Example:
task_example
Public template ID.
- Example:
ai-trouble-maker-video
seeapi- Example:
seeapi
Normalized customer input only.
- Example:
{"reference_images":["https://customer.example.com/input-1.jpg","https://customer.example.com/input-2.jpg"],"resolution":"768P","aspect_ratio":"16:9"}
processingRequest-specific template estimate in customer credits; obtain an estimate with Quote Template. The example value is illustrative, not this template's price.
- Example:
10
- Example:
0
- Example:
0
- Example:
2026-01-01T00:00:00.000Z
- Example:
2026-01-01T00:00:00.000Z
false- Example:
false
200Idempotent replay of an existing generation, including its current status and any available result or public error.
- HTTP 200 may return a task that is still processing or already completed.
- Reuse the original Idempotency-Key with an unchanged body when retrying the same request.
objectrequired
Public template ID.
- Example:
ai-trouble-maker-video
seeapi- Example:
seeapi
Normalized customer input only.
processingsucceededfailedcanceledrefundedexpiredEstimate recorded on the original task in customer credits.
objectoptional
array <object>required
imagevideotrue- Example:
true
Invalid request or public template input
Invalid API key
Insufficient credits
API key scope or access denied
Template or task not found or unavailable
Template configuration changed, idempotency conflict, or request still being created
Request body too large
Rate limit exceeded
Service temporarily unavailable
Query Task Status
After submitting a task, use the unified query endpoint to check progress and retrieve results:
Save generation.id from the creation response. Use it as task_id in GET /v1/generations/{task_id}, or receive terminal notifications at your HTTPS callback_url.
Note
- HTTP 202 confirms acceptance only. Wait for the terminal task status before displaying a completed video.
- On success, read the finished video URL from generation.result.assets. On failure, inspect generation.error_code and generation.error_message.
- An idempotent replay returns the existing task at its current status. Reuse the original key and unchanged request body to avoid creating another generation.
Callbacks
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Webhook flow
Callback URL per generation.