{"openapi":"3.0.2","info":{"title":"runware/runware-seedance-2.5","description":"The request body Comfy Router accepts for the model \"runware/runware-seedance-2.5\", 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":"6d2490d45751"},"paths":{"/v2/models/runware/runware-seedance-2.5":{"post":{"operationId":"runRouterModel","summary":"Run runware/runware-seedance-2.5 synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":true,"description":"One Runware `videoInference` task, sent as a single JSON object. Router fills in the parts the model's path already decides: `taskType` is set to `videoInference`, `model` to this model's Runware AIR id, `deliveryMethod` to `async`, `includeCost` to `true` and `taskUUID` to a fresh UUID v4, overriding anything the body carries for those five. Router then polls the task to completion. `positivePrompt` is not required by this schema because image-driven submits may omit it; Runware refuses a submit it cannot run. Runware's other videoInference fields (`duration`, `resolution`, `inputs.frameImages`, `providerSettings`, ...) are accepted and forwarded unchanged; Runware validates them.","example":{"positivePrompt":"A paper boat drifting down a rain-soaked street at dusk"},"properties":{"deliveryMethod":{"description":"Optional; always overridden with `async`.","nullable":true,"type":"string"},"height":{"description":"Output height in pixels.","maximum":8192,"minimum":1,"type":"integer"},"includeCost":{"description":"Optional; always overridden with `true`.","nullable":true,"type":"boolean"},"model":{"description":"Optional; always overridden with this model's Runware AIR id.","nullable":true,"type":"string"},"numberResults":{"description":"Number of videos to generate (Runware's documented maximum for Seedance is 4). Each result is billed; the async poll waits for every generation and bills the sum of their costs.","maximum":4,"minimum":1,"type":"integer"},"positivePrompt":{"description":"The prompt describing the video to generate. May be omitted for an image-driven submit, but not sent empty.","minLength":1,"type":"string"},"taskType":{"description":"Optional; always overridden with `videoInference`.","nullable":true,"type":"string"},"taskUUID":{"description":"Optional; always overridden with a fresh Router-generated UUID v4, which the submit response carries and Router polls by. Runware documents this field as a UUID v4, so a value sent here must still match the pattern (version nibble `4`, variant nibble `[89abAB]`).","maxLength":36,"nullable":true,"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$","type":"string"},"width":{"description":"Output width in pixels.","maximum":8192,"minimum":1,"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"OK - the provider's native result document, returned unchanged. Comfy has not described this model's output yet, so neither its shape nor its media type is narrowed here; the provider's own documentation is authoritative.","content":{"*/*":{"schema":{"additionalProperties":true,"description":"Comfy has not described this model's result document yet. Router returns the provider's native output unchanged, so the provider's own documentation is authoritative for the response shape.","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":"runware/runware-seedance-2.5","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":false,"x-comfy-router-input-modalities":["text"],"x-comfy-router-output-modalities":["video"],"x-comfy-router-alias-of":"byteplus/dreamina-seedance-2-5-260628","x-comfy-router-alias-provider":"runware"}
