1. Video
Spicy API: NSFW AI Image and Video Generation API Docs
  • Core
    • List Models
      GET
    • Get Account
      GET
  • Images
    • Create Image
      POST
    • Edit Image
      POST
    • List Images
      GET
  • Moderation
    • Check a Prompt
      POST
  • Video
    • Create Video
      POST
    • Get Video Task
      GET
  • Chat
    • Create Chat Completion
      POST
  • Agent tools
    • List every agent tool with its argument schema, whether it is guarded (needs approval_token) and whether it works with no balance.
      GET
    • List models
      POST
    • Estimate cost
      POST
    • Get account
      POST
    • List images
      POST
    • Generate image
      POST
    • Edit image
      POST
    • Generate video
      POST
    • Get job
      POST
    • List jobs
      POST
    • Get usage
      POST
    • Create API key
      POST
    • Revoke API key
      POST
    • Get top-up link
      POST
    • Set spend limit
      POST
    • Read acceptable use policy
      POST
  1. Video

Create Video

POST
https://api.spicyapi.com/v1/videos/generations
Start a video generation. Returns a task to poll. Video is asynchronous: this call returns immediately with a task id, and you poll GET /v1/videos/tasks/{id} until it succeeds or fails. Image-to-video models need an image_url your account generated. Failed generations are refunded automatically.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
A task you can poll.
Bodyapplication/json

🟠400
🟠401
🟠402
🟠422
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.spicyapi.com/v1/videos/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "string",
    "prompt": "string",
    "image_url": "string",
    "resolution": "string",
    "duration": 0,
    "negative_prompt": "string",
    "audio": true,
    "seed": 0,
    "dry_run": true,
    "user": "string"
}'
Response Response Example
{
    "id": "task_5d9e2f10",
    "object": "task",
    "type": "video",
    "model": "spicy-pov-missionary-1",
    "status": "queued",
    "output": null,
    "error": null,
    "error_code": null,
    "cost_usd": 0.875
}
Modified at 2026-09-21 21:07:45
Previous
Check a Prompt
Next
Get Video Task
Built with