{"code":200,"message":"success","data":{"components":{"schemas":{"Input":{"additionalProperties":false,"properties":{"similarity":{"default":0.75,"description":"How closely the generated speech follows the selected voice. Higher values increase voice similarity.","maximum":1,"minimum":0,"type":"number","x-ui-component":"slider"},"stability":{"default":0.5,"description":"How consistent the delivery stays. Lower values allow more expressive variation; higher values favor consistency.","maximum":1,"minimum":0,"type":"number","x-ui-component":"slider"},"text":{"description":"Text to convert to speech. Supports expressive audio tags such as [whispering] and [laughing]. Maximum 10,000 characters for this endpoint.","example":"[warmly] Welcome to a new day. Take a deep breath, find your rhythm, and make a little room for something wonderful.","maxLength":10000,"minLength":1,"type":"string","x-rows":5,"x-ui-component":"textarea"},"voice_id":{"default":"Alicia","description":"The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.","minLength":1,"type":"string","x-placeholder":"Please input your custom voice ID","x-suggestions":["Alicia","Aria","Roger","Sarah","Laura","Charlie","George","Callum","River","Liam","Charlotte","Alice","Matilda","Will","Jessica","Eric","Chris","Brian","Daniel","Lily","Bill","Adam","Bella","Harry","Wyatt","Sawyer","Baxter","Caleb","Finley","Eldrin","Kaelen","Jade","Elara","Lawrence","Florence","Maisie","Elowen","Darian","Talia","Warren","Eddie"],"x-ui-component":"command"}},"required":["text","voice_id"],"type":"object","x-order-properties":["text","voice_id","stability","similarity"]},"PredictionResponse":{"properties":{"created_at":{"description":"ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”).","format":"date-time","type":"string"},"id":{"description":"Unique identifier for the prediction, the ID of the prediction to get.","type":"string"},"model":{"description":"Model ID used for the prediction.","type":"string"},"outputs":{"description":"Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model.","items":{"oneOf":[{"type":"string"},{"type":"object"}]},"type":"array"},"status":{"description":"Status of the task: created, processing, completed, or failed.","type":"string"},"urls":{"description":"Object containing related API endpoints.","type":"object"}},"type":"object"}},"securitySchemes":{"apiKeyAuth":{"in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"The WaveSpeed API.","title":"WaveSpeed API","version":"3.0.0"},"openapi":"3.0.0","paths":{"/api/v3/elevenlabs/eleven-v4":{"post":{"description":"Submit a request to run the model and create a prediction.","operationId":"createPrediction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input"}}},"description":"Input parameters for the model.","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResponse"}}},"description":"Prediction request accepted."}},"summary":"Create prediction"},"x-api-name":"model_run"},"/api/v3/predictions/{request_id}/result":{"get":{"description":"Retrieve the current status and result of a prediction.","operationId":"getPredictionResult","parameters":[{"description":"The ID of the prediction request.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResponse"}}},"description":"Prediction result."}},"summary":"Get prediction result"},"x-api-name":"model_result"}},"security":[{"apiKeyAuth":[]}],"servers":[{"url":"https://api.wavespeed.ai"}]}}