Skip to main content
← Genjutsu Endpoint: POST https://api.higgsfield.ai/higgsfiled/genjutsu/object-swap/v1.0 Endpoint ID: higgsfiled/genjutsu/object-swap/v1.0 Open API PlaygroundGenjutsu · Object swap

Usage notes

  • Use the exact API slug, including the spelling higgsfiled.
  • The source video must be at least 4 seconds. Videos longer than 30 seconds are trimmed to 30 seconds; output duration follows the prepared source video.
  • Provide 1–8 image references. The prompt is optional and defaults to an empty string.
  • The source video must contain at least 409,600 pixels per frame (width × height).

Quick start

Replace the example media URLs with publicly accessible URLs for your own files before submitting.

Input schema

string
default:""
Text instructions for the generation or edit. Maximum characters: 10000.
string
required
Public URL of the source video. Minimum characters: 1. Maximum characters: 2083. Format: uri.
array
required
Ordered public image reference URLs. Minimum items: 1. Maximum items: 8. Each item: string. Minimum characters: 1. Maximum characters: 2083. Format: uri.
string
default:"720p"
Output resolution tier. Allowed values: "720p", "480p".

Response

Submission returns a request handle. Poll status_url until status is completed, or use webhooks.
Accepted
A completed response includes the following output fields:
See polling, request errors and authentication for shared request handling.