{"openapi":"3.0.2","info":{"title":"pixverse/v6","description":"The request body Comfy Router accepts for the model \"pixverse/v6\", 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":"9d0c5e3ed56d"},"paths":{"/v2/models/pixverse/v6":{"post":{"operationId":"runRouterModel","summary":"Run pixverse/v6 synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"The PixVerse text-to-video fields, shared by the v1 `POST /proxy/pixverse/video/text/generate` request body and the Comfy Router input schema for `pixverse/v3.5`, `pixverse/v6` and `pixverse/v6-max`. See the note above `RecraftImageGenerationInputs` for why the two surfaces share properties but not `required`.\n`required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes. The v1 wrapper `PixverseTextVideoRequest` re-adds it.","example":{"aspect_ratio":"16:9","duration":5,"prompt":"a single red maple leaf falling onto still water","quality":"360p"},"properties":{"aspect_ratio":{"enum":["16:9","4:3","1:1","3:4","9:16","2:3","3:2","21:9"],"type":"string"},"duration":{"maximum":15,"minimum":1,"type":"integer"},"generate_audio_switch":{"default":false,"type":"boolean"},"model":{"description":"PixVerse text-to-video model identifier. On the Comfy Router route `POST /v2/models/pixverse/{model}` this field is supplied from the path and may be omitted.","nullable":true,"type":"string"},"motion_mode":{"enum":["normal","fast"],"type":"string"},"negative_prompt":{"type":"string"},"prompt":{"type":"string"},"quality":{"enum":["360p","540p","720p","1080p"],"type":"string"},"seed":{"type":"integer"},"style":{"enum":["anime","3d_animation","clay","comic","cyberpunk"],"type":"string"},"template_id":{"type":"integer"},"water_mark":{"type":"boolean"}},"required":["aspect_ratio","duration","prompt","quality"],"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":"Comfy Router output schema for the PixVerse text-to-video models: the partner's own result document, forwarded once Router has polled to a terminal success. The operation is submit-and-poll (`routerresult/classification.go` classifies POST /proxy/pixverse/video/text/generate as ReturnModeSubmitPoll, polled on GET /video/result/:id), so the body a caller receives is this finished document, not the submit's video_id handle.\nA terminal success has Resp.status 1 and a non-empty Resp.url, which is the output video. The Router poll family requires that URL; a status-1 document with no URL is treated as a success with no output rather than handed back as a finished video. Billing quantities (`Resp.credits`) are reported only after the run, which is why Quote answers ok=false.","example":{"ErrCode":0,"ErrMsg":"","Resp":{"credits":1,"id":4242,"status":1,"url":"https://example.invalid/pixverse/v6/out.mp4"}},"properties":{"ErrCode":{"type":"integer"},"ErrMsg":{"type":"string"},"Resp":{"properties":{"create_time":{"type":"string"},"credits":{"type":"integer"},"id":{"type":"integer"},"modify_time":{"type":"string"},"negative_prompt":{"type":"string"},"outputHeight":{"type":"integer"},"outputWidth":{"type":"integer"},"prompt":{"type":"string"},"resolution_ratio":{"type":"integer"},"seed":{"type":"integer"},"size":{"type":"integer"},"status":{"enum":[1,5,6,7,8],"type":"integer"},"style":{"type":"string"},"url":{"type":"string"}},"required":["url","status"],"type":"object"}},"required":["Resp"],"type":"object"}}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"pixverse/v6","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["text"],"x-comfy-router-output-modalities":["video"]}
