Perplexity Sonar
Search-Based Answers, Quick Responses with Web Context
Perplexity Sonar is a search-grounded language model from Perplexity AI, designed to deliver quick, accurate answers using live web context. Ideal for real-time Q&A, fact retrieval, and research tasks that require up-to-date information — all through IMAGEGPT's unified API.
Service Highlights
- 99.9% SLA
- Official Discounts
- Pay-as-you-go
- Search Grounded
Text API Playground
Test and explore AI text generation APIs
Select Model
Endpoint
Headers
Request Body
Code Sample
fetch('https://api.imagegpt.online/generate/text', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY'
},
body: JSON.stringify({
"model": "OPENAI-GPT-NANO-5.4",
"prompt": "Build a simple Tic Tac Toe game using only HTML, CSS, and JavaScript with two-player turn-by-turn gameplay and a restart button after the game ends.",
"system": "You are a friendly assistant.",
"outputType": "text"
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));Transparent, Pay-as-You-Go
No subscriptions. No hidden fees. Pay only for what you generate.
* Actual costs are subject to final output. Prices shown in USD.
IMAGEGPT AI Studio prohibits NSFW, sexually explicit, adult, exploitative, deceptive, or harmful AI-generated content. Content moderation is applied to all supported models.
Ready to integrate Perplexity Sonar?
Get your API key and start generating in minutes. No credit card required for the free tier.
- Free tier available
- API access on all plans
- NSFW content blocked
- 99.9% uptime SLA