Higgsfield Image 2 Video Serverless API

Transform static images into dynamic, motion-rich videos with unparalleled control and creative depth.

~178.03s
POST /v2/higgsfield-image2video · submit + poll
 1# pip install "segmind>=1.1.0"
 2# export SEGMIND_API_KEY="YOUR_API_KEY"
 3from segmind import SegmindClient, InferenceFailed, InferenceTimeout
 4
 5# Async (v2) — recommended for long-running / video models.
 6# run() blocks up to 600s; submit_async + job.wait(timeout=...) sets a longer
 7# deadline and keeps the request_id so you can re-poll later.
 8client = SegmindClient()                      # reads SEGMIND_API_KEY
 9payload = {
10    "model": "dop-preview",
11    "prompt": "Make the dress flow dramatically in the wind as the camera slowly circles around her, capturing the golden sunset light.",
12    "seed": 12345,
13    "motion_id": "c5881721-05b1-47d9-94d6-0203863114e1",
14    "motion_strength": 0.8,
15    "image_urls": ["https://segmind-resources.s3.amazonaws.com/input/5d6b3638-b366-496c-847e-4eb91407b8df-128b5b18cad59a0885903ac2bba97087.png"],
16    "enhance_prompt": True,
17    "check_nsfw": True,
18}
19job = client.submit_async("higgsfield-image2video", **payload)
20print(job.request_id)                         # available immediately
21try:
22    result = job.wait(timeout=900, interval=2.0)
23    print(result["status"])                  # COMPLETED
24    print(result.get("output"))              # model output (e.g. video URL)
25except InferenceTimeout as e:
26    print("still running:", e.request_id)    # re-poll later with this id
27except InferenceFailed as e:
28    print("failed:", e.detail)
29
30# Fast models (<=600s) can use the one-liner instead:
31# result = segmind.run("higgsfield-image2video", **payload)

API Endpoint

POSThttps://api.segmind.com/v1/higgsfield-image2video

Parameters

enhance_promptrequired
boolean

Enable to refine prompts. Improves output when set to true.

Default: null
modelrequired
string

Select the model quality. Use 'dop-preview' for high-quality renders, or 'dop-lite' for faster previews.

Default: null
Allowed values :
"dop-lite""dop-preview""dop-turbo"
motion_idrequired
string

Choose an animation style. 'Cinematic' for dramatic effects or '360 Orbit' for full scene views.

Default: null
Allowed values (122 total):
360 Orbit"ea035f68-b350-40f1-b7f4-7dff999fdd67"
3D Rotation"2bae49e6-ffe7-42a8-a73f-d44632c4acaa"
Abstract"7f8971a6-9e96-45b6-a05a-8f5c99b1e13d"
Action Run"dc8d7d9c-ae0c-45fc-b780-7d470b171b45"
Agent Reveal"65b0a5a3-953d-471c-86d5-967ab44d0dab"
Angel Wings"d21ff628-0d91-40b2-8508-cd5a0ce375d4"
Arc Left"c5881721-05b1-47d9-94d6-0203863114e1"
Arc Right"a85cb3f2-f2be-4ee2-b3b9-808fc6a81acc"
Baseball Kick"ab0fa3d8-fcbe-4a6a-96bb-eae7a0e2c2cb"
Basketball Dunks"1b4c1b9a-898b-451c-bff8-7288382ccaf2"
+112 more
promptrequired
string

Enter a detailed description for the animation. Use 'A futuristic skyline at sunset' for cityscapes.

Default: "Make the dress flow dramatically in the wind as the camera slowly circles around her, capturing the golden sunset light."
seedrequired
integer

Set random seed for consistent outputs. Change seed for varied results up to 1,000,000.

Default: nullRange: 1 - 1000000
check_nsfwoptional
boolean

Enable NSFW filter. Set true to block explicit content.

Default: true
image_urlsoptional
string[]

Include reference image URLs. Use high-res images for improved detail.

motion_strengthoptional
number

Control motion intensity; 0.3 for subtle effects, 1 for dramatic motion.

Default: 0.8Range: 0 - 1

Response Type

Returns: Video

Asynchronous requests (v2)

Use Async for video, long-running (>~60s), or high-concurrency workloads; Sync is simplest for fast image & LLM calls. Async submits a request and you poll it to completion.

  1. 1
    POST /v2/higgsfield-image2video

    Submitreturns request_id, status_url, response_url

  2. 2
    GET /v2/requests/{id}/status

    Polluntil COMPLETED or FAILED

  3. 3
    GET /v2/requests/{id}

    Resultfinal response body

Status states

QUEUEDAccepted, waiting for a worker
PROCESSINGRunning on a worker
COMPLETEDDone — result body is ready
FAILEDErrored (incl. content/RAI blocks)
  • A FAILED request is served as HTTP 422 — the body still carries the error detail.
  • An unknown or expired request_id returns HTTP 404.
  • Results are retained for 1 hour, then expire.
  • Content / RAI blocks surface as FAILED, not a separate state.
  • Track completion by polling the status endpoint.

Common Error Codes

The API returns standard HTTP status codes. Detailed error messages are provided in the response body.

400

Bad Request

Invalid parameters or request format

401

Unauthorized

Missing or invalid API key

403

Forbidden

Insufficient permissions

404

Not Found

Model or endpoint not found

406

Insufficient Credits

Not enough credits to process request

429

Rate Limited

Too many requests

500

Server Error

Internal server error

502

Bad Gateway

Service temporarily unavailable

504

Timeout

Request timed out