OpenAI generation
OpenAI generative services, including text, images, video, and other generation.
Your API key is pre-filled in the snippet — copy and run it in your terminal or IDE.
This is only a basic call example. See the full docs for more parameters and advanced usage.
OpenAI Full Series API
Access the full range of OpenAI models through a unified interface—GPT-5, GPT-4o, o3, o1 conversational reasoning, DALL·E 3 / GPT Image image generation, and Embeddings vectorization.
Covering All Capabilities of OpenAI
Conversational reasoning, image generation, image editing, text vectorization—one API Key does it all
Chat Completions
Fully supports GPT-5, GPT-4o, GPT-4.1 series, and o series reasoning models, with streaming output, tool invocation, and full support for JSON Mode.
Responses API
OpenAI's latest Responses API format, supporting the same models as Chat Completions, providing a more flexible interaction method.
Image Generation / Editing
DALL·E 3, DALL·E 2, and GPT Image 1 / 1.5 support text-to-image and image editing, with multiple size and quality options.
Embeddings
Three embedding models: text-embedding-3-small/large and ada-002, for semantic search, clustering, and RAG applications.
Native OpenAI SDK Direct Connection
Modify base_url to access the full range of OpenAI models through Ace Data Cloud, fully compatible with the official SDK.
from openai import OpenAIclient = OpenAI( base_url="https://api.acedata.cloud", api_key="YOUR_API_KEY" )
Chat Completions
response = client.chat.completions.create( model="gpt-5", messages=[ {"role": "user", "content": "Explain the core concepts of machine learning"} ] ) print(response.choices[0].message.content)
Image Generation
image = client.images.generate( model="gpt-image-1", prompt="A futuristic city at sunset", n=1 ) print(image.data[0].url)
3 Steps to Get Started Quickly
It only takes a few minutes from registration to completing your first API call.
Get API Key
Register for Ace Data Cloud and generate an API key from the console.
Select API and Model
Choose the Chat, Images, or Embeddings API based on your needs, along with the required model.
Make a Request
Use the OpenAI SDK or HTTP requests, just modify the base_url to call.
What is the OpenAI API Suitable For?
Covers various AI application scenarios including text, images, and vectorization.
Code Assistant
GPT-5 and o3 excel in programming tasks, suitable for code generation, review, and debugging.
AI Customer Service / Chatbot
Build intelligent customer service systems, GPT-4o-mini provides cost-effective conversational capabilities.
AI Painting
DALL·E 3 and GPT Image generate high-quality images, suitable for design and marketing material creation.
Semantic Search / RAG
Embeddings API vectorizes text to build semantic search engines and knowledge base Q&A systems.
Data Analysis
Input data for GPT to analyze trends, generate reports, and visualize suggestions.
Complex Reasoning
Models like o3 and o3-pro excel in mathematical proofs, logical analysis, and multi-step problem solving.
API Endpoints
5 API endpoints cover the full capabilities of OpenAI
💬 Chat Completions
Conversational text generation, supports streaming output, tool calls, etc.
/openai/chat/completions🧠 Responses
OpenAI's next-generation response interface, supports the same model set.
/openai/responses🎨 Images Generations
Text to image generation, DALL·E 3 / GPT Image.
/openai/images/generations✏️ Images Edits
Image editing based on image and text prompts.
/openai/images/edits📐 Embeddings
Text vectorization for search, clustering, and RAG.
/openai/embeddingsModel Matrix
Select the most suitable model by task
🚀 GPT-5 Series
The latest flagship conversational model, significantly enhanced reasoning and creative capabilities.
✨ GPT-5.x Series
Enhanced versions of GPT-5, 5.1 and 5.2 further improve capabilities.
⚡ GPT-4o Series
Efficient multimodal model, supports mixed input of text and images.
📐 GPT-4.1 Series
Optimized for programming and long context, strong instruction-following capabilities.
🧠 o Series Reasoning
Designed for complex reasoning, provides high-quality answers after deep thinking.
🎨 Image Models
Text-to-image generation and image editing.
OpenAI API Pricing
Charged based on actual usage, conversation by Token, images by piece, embeddings by Token.
Bulk packages offer more discounts
Text billed by Token, images billed by piece, no minimum consumption
- ✓ Full range of GPT-5 / 4o / 4.1
- ✓ o3 / o4-mini reasoning models
- ✓ Image generation starting at $0.019 / piece
- ✓ Embeddings as low as $0.0027 / million Tokens
- ✓ Streaming — Free
Dedicated plans for high-usage teams
- ✓ Tiered discounts based on usage
- ✓ Priority support with account manager
- ✓ Custom rate limits
- ✓ SLA guarantees
- ✓ Private deployment options
| Model | Specifications | Price per Image |
|---|---|---|
| GPT Image 1 | All Sizes | $0.019 |
| GPT Image 1.5 | All Sizes | $0.052 |
| DALL·E 3 | Standard 1024×1024 | $0.019 |
| DALL·E 3 | Standard 1024×1792 | $0.038 |
| DALL·E 3 | HD 1024×1024 | $0.038 |
| DALL·E 3 | HD 1024×1792 | $0.057 |
| DALL·E 2 | 1024×1024 | $0.0095 |
Frequently Asked Questions
Common questions about using the OpenAI API
Ace Data Cloud provides a proxy interface fully compatible with the official OpenAI format, without the need to register an OpenAI account or bind an overseas credit card. One API Key can access multiple models such as OpenAI, Claude, Gemini, Grok, etc.
GPT-5 is OpenAI's latest flagship model, surpassing GPT-4o in reasoning, creativity, and knowledge capabilities. GPT-4o is a well-validated cost-effective choice, suitable for cost-sensitive scenarios.
Models like o3, o3-pro, and o4-mini perform deep thinking before providing answers, particularly suitable for tasks requiring deep reasoning such as mathematical calculations, logical reasoning, and code analysis. o3-mini and o4-mini offer lower-cost reasoning capabilities.
GPT Image 1 / 1.5 is OpenAI's latest native image generation model, directly integrated into the GPT model, supporting more natural text-image interaction. DALL·E 3 is a dedicated image generation model, supporting various quality and size options including Standard/HD.
It is recommended to use text-embedding-3-small, which has the best cost-performance ratio ($0.0027 / million Tokens). For higher precision, use text-embedding-3-large ($0.017 / million Tokens). ada-002 is an older model, compatible but not as cost-effective as v3.
Explore More AI Models
Ace Data Cloud offers a variety of large language models and AI service APIs
Start Using OpenAI API Now
One API Key connects to the full range of OpenAI models, from conversation to images to vectorization.
OpenAI Chat Completion API, compatible with the official API format.
OpenAI Responses API, compatible with the official API format.
OpenAI Embeddings API for generating text vector representations.
Unified image generation endpoint compatible with the OpenAI Images API. A single endpoint supports DALL·E 2/3, the full GPT Image family (gpt-image-1, gpt-image-1.5, gpt-image-2), and Google's Nano Banana family (nano-banana, nano-banana-2, nano-banana-pro). Fine-grained control via size, quality, style, background, output_format, moderation, etc., with transparent background, PNG/JPEG/WebP outputs, and optional callback_url for async delivery.
OpenAI image editing API, input images and instructions, output modified images.
Packages
We offer various credit packages. The more you purchase, the higher the discount you receive.
