Quick Start Guide

Get from zero to generating AI videos in under 5 minutes.

Prerequisites

Base URL

https://api.evolink.ai

Step 1: Get Your API Key

Sign up on EvoLink and navigate to your API Key Management Page. Your API key will be available immediately.

export EVOLINK_API_KEY="your-api-key-here"

Step 2: Make Your First Request

Send a POST request to generate a video from a text prompt:

import requests

response = requests.post(
    "https://api.evolink.ai/v1/videos/generations",
    headers={
        "Authorization": f"Bearer {EVOLINK_API_KEY}",
        "Content-Type": "application/json"
    },
    json={
        "model": "seedance-2.0",
        "prompt": "A golden retriever running through a sunlit meadow, cinematic slow motion",
        "duration": 5,
        "quality": "720p"
    }
)

task = response.json()
print(f"Task ID: {task['id']}")
print(f"Status: {task['status']}")

Response

{
    "id": "task-unified-1761313744-vux2jw0k",
    "object": "video.generation.task",
    "created": 1761313744,
    "model": "seedance-2.0",
    "status": "pending",
    "progress": 0,
    "type": "video",
    "task_info": {
        "can_cancel": true,
        "estimated_time": 165,
        "video_duration": 5
    },
    "usage": {
        "billing_rule": "per_call",
        "credits_reserved": 8,
        "user_group": "default"
    }
}

Step 3: Retrieve Your Video

Poll the task status endpoint until the video is ready:

import time

task_id = task["id"]

while True:
    status = requests.get(
        f"https://api.evolink.ai/v1/tasks/{task_id}",
        headers={"Authorization": f"Bearer {EVOLINK_API_KEY}"}
    )
    result = status.json()

    if result["status"] == "completed":
        print(f"Video URL: {result['results'][0]}")
        break
    elif result["status"] == "failed":
        print("Generation failed")
        break

    print(f"Progress: {result['progress']}%")
    time.sleep(5)

Note: Generated video links are valid for 24 hours. Please download and save them promptly.

What's Next