{
"id": "modr-8074",
"model": "omni-moderation-latest",
"results": [
{
"flagged": false,
"categories": {
"harassment": false,
"harassment/threatening": false,
"sexual": false,
"hate": false,
"hate/threatening": false,
"illicit": false,
"illicit/violent": false,
"self-harm/intent": false,
"self-harm/instructions": false,
"self-harm": false,
"sexual/minors": false,
"violence": false,
"violence/graphic": false
},
"category_scores": {
"harassment": 0.00001442598644847886,
"harassment/threatening": 1.9223170236538178e-6,
"sexual": 0.00007208380258812108,
"hate": 3.2699273422345685e-6,
"hate/threatening": 1.5057017254045334e-7,
"illicit": 0.000013552078562406772,
"illicit/violent": 8.61465062380632e-6,
"self-harm/intent": 1.8631746484712008e-6,
"self-harm/instructions": 8.267873072601938e-7,
"self-harm": 3.6478537675800286e-6,
"sexual/minors": 3.7636447180974406e-6,
"violence": 0.0005034054837533741,
"violence/graphic": 2.3187477504664324e-6
},
"category_applied_input_types": {
"harassment": [
"text"
],
"harassment/threatening": [
"text"
],
"sexual": [
"text"
],
"hate": [
"text"
],
"hate/threatening": [
"text"
],
"illicit": [
"text"
],
"illicit/violent": [
"text"
],
"self-harm/intent": [
"text"
],
"self-harm/instructions": [
"text"
],
"self-harm": [
"text"
],
"sexual/minors": [
"text"
],
"violence": [
"text"
],
"violence/graphic": [
"text"
]
}
}
]
}
curl --location --request POST 'https://zylalabs.com/api/4960/gpt-4+vision+pro+api/6252/conversations+response' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"input": "hello"
}'
{
"id": "resp_0f18aecf8f9048eb006a43e24bd370819fb9959ea82d21bd01",
"object": "response",
"created_at": 1782833739,
"status": "completed",
"background": false,
"billing": {
"payer": "developer"
},
"completed_at": 1782833742,
"error": null,
"frequency_penalty": 0.0,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"max_tool_calls": null,
"model": "gpt-4o-2024-08-06",
"moderation": null,
"output": [
{
"id": "msg_0f18aecf8f9048eb006a43e24e23c4819fa1bddc30dabd6813",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"logprobs": [],
"text": "This is an image of a cat."
}
],
"role": "assistant"
}
],
"parallel_tool_calls": true,
"presence_penalty": 0.0,
"previous_response_id": null,
"prompt_cache_key": null,
"prompt_cache_retention": "in_memory",
"reasoning": {
"context": null,
"effort": null,
"summary": null
},
"safety_identifier": null,
"service_tier": "default",
"store": true,
"temperature": 1.0,
"text": {
"format": {
"type": "text"
},
"verbosity": "medium"
},
"tool_choice": "auto",
"tool_usage": {
"image_gen": {
"input_tokens": 0,
"input_tokens_details": {
"image_tokens": 0,
"text_tokens": 0
},
"output_tokens": 0,
"output_tokens_details": {
"image_tokens": 0,
"text_tokens": 0
},
"total_tokens": 0
},
"web_search": {
"num_requests": 0
}
},
"tools": [],
"top_logprobs": 0,
"top_p": 1.0,
"truncation": "disabled",
"usage": {
"input_tokens": 1119,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 9,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 1128
},
"user": null,
"metadata": {}
}
curl --location --request POST 'https://zylalabs.com/api/4960/gpt-4+vision+pro+api/26145/classify+an+image' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"model": "gpt-4o",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "What animal is in this image?"
},
{
"type": "input_image",
"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Gato_%282%29_REFON.jpg/1280px-Gato_%282%29_REFON.jpg"
}
]
}
]
}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the GPT-4 Vision Pro API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
GPT-4 Vision Pro API offers a comprehensive and affordable solution for integrating advanced artificial intelligence capabilities into diverse applications. Designed for users looking to power their systems with cutting-edge technology, this API provides access to some of the most advanced natural language processing and computer vision models available on the market.
GPT-4 Vision Pro API is an optimized version of the GPT-4 model, developed to provide a faster and more cost-effective user experience without compromising the quality of responses. This model is ideal for applications that require efficient text generation, such as chatbots, virtual assistants, and recommender systems. Thanks to its enhanced architecture, GPT-4 Vision Pro API can handle large volumes of requests quickly and accurately, making it an attractive option for companies that need to implement large-scale AI without incurring high operational costs, and also extends the capabilities of language models by incorporating visual analytics. This model is capable of interpreting and generating image-based responses, providing a deeper and more multifaceted understanding of visual content. GPT-4 Vision Pro API makes it easy to integrate OpenAI's conversational model into chat and customer service applications. ChatGPT is known for its ability to have natural and consistent conversations, making it an ideal tool for creating interactive and personalized user experiences. With this API, developers can build chatbots that not only answer questions and perform tasks, but also understand and respond in a conversational context, improving user satisfaction and service efficiency.
One of the main advantages of this API is its affordability. Designed to be a more affordable option, the API allows users to take advantage of advanced artificial intelligence capabilities without facing significant financial barriers. This accessibility opens up new opportunities to innovate and improve products and services, allowing companies to implement intelligent solutions with a favorable return on investment.
To use this API, send a message with the user role and receive a generated response along with metadata.
The GPT-4 Vision Pro API combines text and image analysis, allowing you to generate responses and descriptions based on visual content.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.
The Conversations Response endpoint returns generated responses based on user input, along with metadata that includes filtering results and usage statistics. It provides insights into the model's performance and response characteristics.
Key fields in the response data include "id" (unique identifier), "model" (model used for generation), "results" (array of generated responses), and "categories" (classification of flagged content).
The response data is structured in JSON format, with a top-level object containing fields like "id," "model," and "results." Each result includes detailed categories and scores for content moderation.
The endpoint provides generated text responses, content moderation flags, and category scores indicating the likelihood of various content types, such as hate speech or self-harm.
Users can customize their requests by specifying parameters such as user role, message content, and any additional context needed for generating a relevant response.
Users can analyze the "results" array for generated responses and leverage the "categories" and "category_scores" to assess content safety and relevance, enhancing user interactions.
The API utilizes advanced models developed by OpenAI, trained on diverse datasets to ensure a broad understanding of language and visual content, enhancing response quality and accuracy.
Typical use cases include deploying chatbots for customer support, generating content for blogs, and creating interactive NPCs in games, all benefiting from the API's conversational and analytical capabilities.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund