{"openapi":"3.0.2","info":{"title":"higgsfield/higgsfield-genjutsu-motion-transfer-v1.0","description":"The request body Comfy Router accepts for the model \"higgsfield/higgsfield-genjutsu-motion-transfer-v1.0\", and the response body it returns. The INPUT schema is the same schema the server validates a call against before it reaches the provider, so what is published and what is enforced cannot differ. `x-comfy-router-input-modalities` records the media kinds the model is documented to accept; the request schema is shared across sibling models and may admit media kinds this model ignores. The OUTPUT schema describes the provider's native result document exactly as Router returns it: Router does not validate, narrow or re-envelope the response, so the output schema is descriptive rather than enforced, and Comfy owns no output shape of its own.","version":"77d0cffa3d15"},"paths":{"/v2/models/higgsfield/higgsfield-genjutsu-motion-transfer-v1.0":{"post":{"operationId":"runRouterModel","summary":"Run higgsfield/higgsfield-genjutsu-motion-transfer-v1.0 synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Request body for Higgsfield Genjutsu Motion Transfer v1.0.","example":{"image_urls":["https://cdn.example.com/character.jpg"],"prompt":"Keep the camera move and recast the dancer as the character in the reference image","resolution":"720p","video_url":"https://cdn.example.com/source.mp4"},"properties":{"image_urls":{"description":"URLs of 1 to 8 reference images for the cast, location and style.","items":{"type":"string"},"maxItems":8,"minItems":1,"type":"array"},"prompt":{"description":"Optional guidance for the recast.","maxLength":10000,"type":"string"},"resolution":{"default":"720p","description":"Output resolution: 480p, 720p or 1080p.","type":"string"},"video_url":{"description":"URL of the source video whose motion, camera and timing are kept. Minimum 4 seconds; a longer video is trimmed to 30 seconds.","maxLength":2083,"minLength":1,"type":"string"}},"required":["video_url","image_urls"],"type":"object"}}}},"responses":{"200":{"description":"OK - the model's native JSON output, returned unchanged; the schema describes the provider's terminal result document as Router returns it.","content":{"application/json":{"schema":{"description":"Higgsfield's request envelope, returned BOTH by a generation POST (as `{status: \"queued\", request_id, status_url, cancel_url}`) and by the shared status route, which adds the output once the request completes. Only the video output is modelled here because the two enrolled families are video models; Higgsfield's own shared component also carries image and audio outputs for families Comfy does not enrol.\nThis is also the Comfy Router output schema for every Higgsfield video id Router publishes — `higgsfield/higgsfield-kling-3-{std,pro,4k}`, `higgsfield/higgsfield-kling-3-turbo` and `higgsfield/higgsfield-wan-3`. All five are SUBMIT-AND-POLL: Router polls the shared status route on the caller's behalf, so the body a caller receives is this TERMINAL document rather than the queued handle the generation POST answers with. A caller therefore reads `status: \"completed\"` with the download URL at `video.url`; `queued` and `in_progress` are in-flight states Router does not return, and `nsfw`, `failed` and `canceled` are the terminal failures. `url` is required on the video output, so a `completed` carrying no `video` is a contract break rather than a finished generation.","example":{"cancel_url":"https://api.higgsfield.ai/requests/2e9b7c44-81d3-4f0a-a6e5-3b9d0c71f5a8/cancel","request_id":"2e9b7c44-81d3-4f0a-a6e5-3b9d0c71f5a8","status":"completed","status_url":"https://api.higgsfield.ai/requests/2e9b7c44-81d3-4f0a-a6e5-3b9d0c71f5a8/status","video":{"url":"https://example.invalid/higgsfield/higgsfield-genjutsu-motion-transfer-v1.0/generated.mp4"}},"properties":{"cancel_url":{"description":"Absolute URL used to cancel a request before processing starts.","type":"string"},"error":{"description":"Failure detail, set when `status` is `failed`.","nullable":true,"type":"string"},"request_id":{"description":"Stable identifier used for polling, cancellation and support.","type":"string"},"status":{"description":"Current request state.","enum":["queued","in_progress","nsfw","failed","completed","canceled"],"type":"string"},"status_url":{"description":"Absolute URL to poll until the request reaches a terminal state.","type":"string"},"video":{"$ref":"#/components/schemas/HiggsfieldMediaOutput"}},"required":["status","request_id"],"type":"object"}}}}}}}},"components":{"schemas":{"HiggsfieldMediaOutput":{"description":"One Higgsfield media output.","properties":{"url":{"description":"Download URL of the generated media.","type":"string"}},"required":["url"],"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"higgsfield/higgsfield-genjutsu-motion-transfer-v1.0","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["video","image","text"],"x-comfy-router-output-modalities":["video"]}
