Login
Dashboard
Playground
API Docs
Pricing

GenAIModels API

GPT-4o API

GPT-4o (“o” for “omni”) is our most advanced model. It is multimodal (accepting text or image inputs and outputting text), and it has the same high intelligence as GPT-4 Turbo but is much more efficient—it generates text 2x faster and is 50% cheaper. Additionally, GPT-4o has the best vision and performance across non-English languages of any of our models. Please contact our support team for assistance.

URL

https://thethrivingcompany.com/api/v1/gpt-4o

You need to be logged in to access this API. Login Here

Method :

POST

Body

{
  apiKey: <client_api_key>,
  messages: <array_of_objects | containing_the_role_and_content>
  webhook: <webhook_URL_to_call_after_image_generated>,
  metadata: <JSON_or_String_to_be_passed_in_webhook_call>,
}

Attributes

messages

Array

An array of objects containing the role and content

role

string

Could be "user", "assistant" or "system"

min: 0 max: 0

content

string/array of objects

A string containing the user's query or the assistant's response.

text

text

A string containing the user's query or the assistant's response.

image_url

object

Object with publicly accessible image_url

url

string

image_url

HTTP Response

{
   success: <boolean | true_or_false>,
   data: <object | chatgpt_response>,
   creditsLeft: <number | credits_left_to_use>,
   metadata: <JSON_or_String_to_be_passed_in_webhook_call>
}

Speak to our experts for your business needs

Get Customized Service

We provide custom APIs and dashboard for businesses. Get our services tailored for your requirements!

Contact Us