0% found this document useful (0 votes)
9 views3 pages

OpenAI API Quickstart Guide

The OpenAI Platform provides a quickstart guide for developers to make their first API request using the OpenAI models, including GPT-5. It offers various functionalities such as text generation, image analysis, and audio processing, as well as tools for building agentic applications. Developers can also tailor models to specific use cases through fine-tuning and structured outputs.

Uploaded by

Gustavo Henrique
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

OpenAI API Quickstart Guide

The OpenAI Platform provides a quickstart guide for developers to make their first API request using the OpenAI models, including GPT-5. It offers various functionalities such as text generation, image analysis, and audio processing, as well as tools for building agentic applications. Developers can also tailor models to specific use cases through fine-tuning and structured outputs.

Uploaded by

Gustavo Henrique
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

OpenAI Platform

Developer quickstart
Make your first API request in minutes. Learn the basics of the OpenAI platform.

Get started

javascript
1 import OpenAI from "openai";
2 const client = new OpenAI();
3
4 const response = await [Link]({
5 model: "gpt-5",
6 input: "Write a short bedtime story about a unicorn.",
7 });
8
9 [Link](response.output_text);

Build with AgentKit

Design Deploy Optimize

Design and version workflows with


Agent builder or use the Agents SDK
for code-level control.
:
Browse models View all

GPT-5 GPT-5 mini GPT-5 nano


The best model for coding and agentic A faster, cost-efficient version of GPT-5 Fastest, most cost-efficie
tasks across domains for well-defined tasks GPT-5

Start building
Read and generate text
Use the API to prompt a model and generate text

Use a model's vision capabilities


Allow models to see and analyze images in your application
:
Generate images as output
Create images with GPT Image 1

Build apps with audio


Analyze, transcribe, and generate audio with API endpoints

Build agentic applications


Use the API to build agents that use tools and computers

Achieve complex tasks with reasoning


Use reasoning models to carry out complex tasks

Get structured data from models


Use Structured Outputs to get model responses that adhere to a JSON schema

Tailor to your use case


Adjust our models to perform specifically for your use case with fine-tuning, evals, and
distillation

Help center
Frequently asked account and billing questions

Developer forum
Discuss topics with other developers
:

You might also like