xAI Grok Imagine Video v1.5 Reference to Video

x-ai/grok-imagine-video-v1.5/reference-to-video

x-ai/grok-imagine-video-v1.5/reference-to-video. เลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์

โมเดลที่เกี่ยวข้อง

xAI Grok Imagine Video v1.5 Reference to Video โมเดลที่เกี่ยวข้อง 1

พารามิเตอร์ทั้งหมด โครงสร้างผลลัพธ์ และราคาปัจจุบัน

ตลาด API โมเดล AIแพลตฟอร์มเดียว ครบทุกอย่างยอดนิยมที่สุดข้อกำหนดเลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์
prompt *Prompttextarea—≤ 5000 chars
images *Reference Imagesimage_upload—image/* · 1–7 items
durationDurationslider61 ~ 15 · step 1
aspect_ratioAspect Ratioselect16:916:9 | 1:1 | 9:16 | 3:2 | 2:3
resolutionResolutionselect720p720p | 480p

พารามิเตอร์ทั้งหมด โครงสร้างผลลัพธ์ และราคาปัจจุบัน

เรียนรู้เพิ่มเติมแพลตฟอร์มเดียว ครบทุกอย่างเลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์
videosarray<string>

API

เลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/x-ai/grok-imagine-video-v1.5/reference-to-video" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "Use the reference subjects consistently in a cinematic scene with natural action, coherent lighting, and smooth camera movement.",
    "images": [
      "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
    ],
    "duration": 6,
    "aspect_ratio": "16:9",
    "resolution": "720p"
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/x-ai/grok-imagine-video-v1.5/reference-to-video",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "Use the reference subjects consistently in a cinematic scene with natural action, coherent lighting, and smooth camera movement.",
            "images": [
                "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
            ],
            "duration": 6,
            "aspect_ratio": "16:9",
            "resolution": "720p"
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/x-ai/grok-imagine-video-v1.5/reference-to-video", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "Use the reference subjects consistently in a cinematic scene with natural action, coherent lighting, and smooth camera movement.",
      "images": [
        "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
      ],
      "duration": 6,
      "aspect_ratio": "16:9",
      "resolution": "720p"
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

เอกสาร API

xAI Grok Imagine Video v1.5 Reference to Video

Turn up to seven reference images into identity-consistent, stylized short videos.

🚀 Key Features

  • Reference-guided generation: Use 1 to 7 reference images to anchor subject identity, appearance, and visual style.
  • Prompt-based motion control: Describe motion, camera behavior, atmosphere, and scene progression using natural language.
  • Identity and style consistency: Multiple references help maintain a coherent character, brand look, or aesthetic across the clip.
  • Flexible output settings: Choose between 480p and 720p, with multiple aspect ratios for landscape, square, and vertical delivery.
  • Production-ready performance: Suitable for character content, concept visualization, ad creatives, and stylized storytelling.

🛠️ Technical Specifications

ItemDetails
Model architectureReference-guided image-to-video generation model
InputPrompt + 1 to 7 reference images
Output FormatVideo
Reference image countUp to 7 images
Duration1 to 15 seconds(default: 6s)
Aspect Ratio16:9, 1:1, 9:16, 3:2, 2:3(default: 16:9)
Resolution720p, 480p(default: 720p)
Motion/style controlJointly controlled by reference images and prompt
LatencyOptimized for fast inference; actual runtime varies by duration, resolution, and number of reference images
Ideal tasksCharacter-driven clips, identity-consistent videos, creative prototyping, marketing content

Sample Prompts

  • A stylish woman walks slowly through a city street at dusk, hair moving in the wind, smooth tracking shot, cinematic lighting.
  • The character from the reference images turns toward the camera under neon lights, subtle depth of field, dreamy modern atmosphere.
  • Animate the subject with natural hand movement and a gentle smile, with the camera slowly pushing from medium shot to close-up for a social promo feel.

💰 Pricing

Pricing ItemPrice
Base Price$0.09
480p$0.08 / second
720p$0.14 / second
Additional reference image+$0.01 each
Billing ruleLinear by duration, rounded up to the next whole second

Example Pricing(1 reference image)

Resolution1s5s10s15s
480p$0.09$0.41$0.81$1.21
720p$0.15$0.71$1.41$2.11

💡 Best Use Cases

  • Identity-consistent video creation: Generate short clips that preserve a character, spokesperson, or branded visual identity.
  • Social media content: Create stylized vertical, square, or landscape videos for posts, promos, and short-form campaigns.
  • Advertising and marketing: Produce visually consistent motion assets from product or character references.
  • Concept visualization: Rapidly explore motion direction, camera ideas, and scene mood before full production.

🔗 Related Models

  • xAI Grok Imagine Video v1.5 Text-to-Video: Generates video from a prompt alone for fully prompt-driven creation.
  • xAI Grok Imagine Video v1.5 Image-to-Video: Animates a single image for simpler image-to-video workflows.

โมเดลที่เกี่ยวข้อง

MiniMax H3 Reference to Video
ภาพอ้างอิงเป็นวิดีโอMinimax

MiniMax H3 Reference to Video

minimax/h3/reference-to-video. เลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์

เริ่มต้น $0.650 / ต่อการรัน
Gemini Omni Flash Reference to Video API
ภาพอ้างอิงเป็นวิดีโอGoogle

Gemini Omni Flash Reference to Video API

google/gemini-omni-flash/reference-to-video. เลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์

เริ่มต้น $1.28 / ต่อการรัน
Seedance 2.0 Mini Reference to Video
ภาพอ้างอิงเป็นวิดีโอDoubao

Seedance 2.0 Mini Reference to Video

doubao/seedance-2.0-mini/reference-to-video. เลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์

เริ่มต้น $0.378 / ต่อการรัน
Seedance 2.5 Reference to Video
ภาพอ้างอิงเป็นวิดีโอDoubao

Seedance 2.5 Reference to Video

doubao/seedance-2-5/reference-to-video. เลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์

เริ่มต้น $0.691 / ต่อการรัน
Seedance 2.0 Fast reference-to-video
ภาพอ้างอิงเป็นวิดีโอDoubao

Seedance 2.0 Fast reference-to-video

doubao/seedance-2-0-fast/reference-to-video. เลือกดู API โมเดลภาพ วิดีโอ และสลับใบหน้า ทดลองโมเดลแล้วเชื่อมต่อผ่าน REST API แบบรวมศูนย์

เริ่มต้น $0.713 / ต่อการรัน