tunglee0305/gradient_ai
0
1# Nano Gradient AI Documentation2 3## Introduction4 5Welcome to the Nano Gradient AI documentation! This document will provide a comprehensive guide on how to use different APIs offered by Whisper AI to help you develop intelligent voice assistants.6 7## API List8 9### Speech-to-Text API10 11The Speech-to-Text API allows you to convert speech to text, making it easier to process and analyze user input. To use this API, simply send an audio file to the API endpoint, and the API will return the text transcription of the audio.12 13**Endpoint:** `/speech-to-text`14 15**Request Method:** `POST`16 17**Request Parameters:**18 19| Parameter | Required | Description |20| --- | --- | --- |21| audio_file | Yes | The audio file to be transcribed. |22 23**Response:**24 25The API will return a JSON object containing the text transcription of the audio file.26 27### Text-to-Speech API28 29The Text-to-Speech API allows you to generate human-like speech from text. This API is useful for creating voice responses for your voice assistant. To use this API, simply send text to the API endpoint, and the API will return an audio file of the generated speech.30 31**Endpoint:** `/text-to-speech`32 33**Request Method:** `POST`34 35**Request Parameters:**36 37| Parameter | Required | Description |38| --- | --- | --- |39| text | Yes | The text to be converted to speech. |40 41**Response:**42 43The API will return an audio file of the generated speech.44 45### Natural Language Processing API46 47The Natural Language Processing API allows you to analyze and understand user input. This API can identify the intent behind user input and extract relevant information. To use this API, send user input to the API endpoint, and the API will return the identified intent and extracted information.48 49**Endpoint:** `/nlp`50 51**Request Method:** `POST`52 53**Request Parameters:**54 55| Parameter | Required | Description |56| --- | --- | --- |57| text | Yes | The user input to be analyzed. |58 59**Response:**60 61The API will return a JSON object containing the identified intent and extracted information.62 63## Getting Started64 65To get started with Whisper AI, sign up for an API key on our website. Once you have an API key, you can start using our APIs to develop your voice assistant.66 67## API Documentation68 69For detailed documentation on how to use each API, please refer to our API documentation on our website.70 71## Support72 73If you need any help or support while using Whisper AI, please contact our support team at [support email]. We are always happy to help!74 