Overview
Welcome to our collection of free AI APIs. These APIs are designed to help developers integrate advanced AI functionalities such as creative writing, translation, image generation, and more into their applications. Get started today and unleash the power of AI!
Explore EndpointsAvailable Endpoints
1. /prompt
Generates a creative prompt or inspiration based on the user's input.
- Method: GET
- Query Parameter:
prompt(text) - Response: AI-generated prompt
2. /translate
Translates text from one language to another.
- Method: POST
- Request Body:
{ "text": "Hello", "source_lang": "en", "target_lang": "es" } - Response: Translated text in JSON format
3. /image
Generates an image based on a text prompt.
- Method: GET
- Query Parameter:
imgprompt(text, optional, default: "cyberpunk cat") - Response: URL of the generated image
4. /whisper
Transcribes audio from a URL to text.
- Method: GET
- Query Parameter:
audio_url(URL to an audio file) - Response: Transcription text in JSON format
5. /resnet
Classifies an image from a URL using the ResNet-50 model.
- Method: GET
- Query Parameter:
imgurl(URL to an image) - Response: Image classification result in JSON format
6. /defog
Generates SQL code based on a provided prompt.
- Method: GET
- Query Parameter:
sqlprompt(text) - Response: SQL code in streaming response (SSE)
7. /classification
Classifies a text based on the user's input using the DistilBERT model.
- Method: GET
- Query Parameter:
textprompt(text) - Response: Classification result in JSON format
8. /baai
Generates responses for individual or batched inputs.
- Method: POST
- Request Body:
{ "input": "text", "batchedInput": "multiple texts" } - Response: Results for both individual and batched inputs in JSON format
9. /ai
Generates blog posts or articles based on the provided prompt.
- Method: POST
- Request Body:
{ "prompt": "Topic of the blog post" } - Response: Article content in streaming response (SSE)
10. /code
Generates code based on the provided prompt.
- Method: POST
- Request Body:
{ "prompt": "Code request" } - Response: Generated code in streaming response (SSE)
Examples
Need help getting started? Check out our example implementations on GitHub or contact us for assistance.
View ExamplesContact
Have questions or need support? Reach out to our team:
- Email: support@yourdomain.com
- Twitter: @drkingbd
- GitHub: GitHub Repository