Nano Banana API's: $0.01$0.04(75% OFF)
Menu
Text Model

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.

Search-based answersQuick responsesWeb context

Service Highlights

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Search Grounded
View Pricing Details
99.9%
Uptime
10M+
Creators
4.9★
Rating

Text API Playground

Test and explore AI text generation APIs

Select Model

Endpoint

POSThttps://api.imagegpt.online/generate/text

Headers

Request Body

OPENAI GPT NANO 5.04 credit
Estimated cost:4 credits / 1k output tokensinput tokens free

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));
Pricing

Transparent, Pay-as-You-Go

No subscriptions. No hidden fees. Pay only for what you generate.

Save 20% vs official pricing
Variant
Tier
Our Price
Official Price
Perplexity Sonar
Per 1k output tokens (Input tokens free)
$0.003
$0.003720%

* 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.

Start Building Today

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