{"openapi":"3.0.2","info":{"title":"veed/clean-audio","description":"The request body Comfy Router accepts for the model \"veed/clean-audio\", 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":"f7e48256c0f0"},"paths":{"/v2/models/veed/clean-audio":{"post":{"operationId":"runRouterModel","summary":"Run veed/clean-audio synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Request body for `POST /proxy/veed/v1/clean-audio`. The job is billed from the credits VEED charges once it completes.","example":{"audio_url":"https://static-assets.veed.io/api-examples/clean-audio-input.m4a","normalize_loudness":true,"output_format":"flac","strength":0.874,"target_lufs":-19},"properties":{"audio_url":{"description":"Public http(s) URL of the recording to clean, up to 30 minutes.","type":"string"},"normalize_loudness":{"default":true,"description":"Set to false to keep the input loudness.","type":"boolean"},"output_format":{"default":"flac","description":"Output container: flac or wav.","type":"string"},"strength":{"default":0.874,"description":"How much background noise is removed under speech.","maximum":1,"minimum":0,"type":"number"},"target_lufs":{"default":-19,"description":"Output loudness in LUFS. Ignored when `normalize_loudness` is false.","maximum":-8,"minimum":-40,"nullable":true,"type":"number"}},"required":["audio_url"],"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":{"allOf":[{"$ref":"#/components/schemas/VeedJobResponse"}],"description":"Comfy Router output schema for VEED Clean Audio: the terminal `GET /proxy/veed/v1/clean-audio/{job_id}` job document, forwarded unchanged. The cleaned audio is at `data.result.audio.url`.","example":{"data":{"credits_charged":1,"job_id":"2e3f1c51-a71c-4dc2-9c8d-857c1920a64d","result":{"audio":{"content_type":"audio/flac","url":"https://example.invalid/veed/clean.flac"}},"status":"COMPLETED"}}}}}}}}}},"components":{"schemas":{"VeedFile":{"properties":{"content_type":{"description":"MIME type of the file.","type":"string"},"file_name":{"description":"Name of the file.","type":"string"},"file_size":{"description":"Size of the file in bytes.","format":"int64","type":"integer"},"url":{"description":"URL the file can be downloaded from.","type":"string"}},"type":"object"},"VeedJob":{"properties":{"credits_charged":{"description":"Credits VEED charged for the job. Present once the job is COMPLETED.","type":"integer"},"credits_estimated":{"description":"Credits VEED quoted before the job ran. Present only on the submit response.","type":"integer"},"error":{"$ref":"#/components/schemas/VeedJobError"},"job_id":{"description":"Job id used to poll for status.","type":"string"},"result":{"$ref":"#/components/schemas/VeedJobResult"},"status":{"description":"Job status: PROCESSING, COMPLETED, FAILED or CANCELLED.","type":"string"}},"type":"object"},"VeedJobError":{"description":"Failure information. Present once the job has FAILED.","properties":{"code":{"description":"Machine-readable failure code.","type":"string"},"details":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"message":{"description":"Human-readable failure message.","type":"string"}},"type":"object"},"VeedJobResponse":{"description":"A VEED job, wrapped in VEED's `data` envelope.","properties":{"data":{"$ref":"#/components/schemas/VeedJob"}},"type":"object"},"VeedJobResult":{"description":"The produced media. Present once the job is COMPLETED. Video routes answer `video`, Clean Audio answers `audio` and Video Background Removal answers `files`.","properties":{"audio":{"$ref":"#/components/schemas/VeedFile"},"files":{"description":"Video Background Removal output. One WebM with alpha for `vp9`, or the RGB video and an alpha matte for `h264`.","items":{"$ref":"#/components/schemas/VeedFile"},"type":"array"},"video":{"$ref":"#/components/schemas/VeedFile"}},"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"veed/clean-audio","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["audio"],"x-comfy-router-output-modalities":["audio"]}
