模型支持企业博客
500+ AI 模型 API,一次搞定,就在 CometAPI
模型 API
开发者
快速入门文档API 仪表板
资源
AI 模型博客企业更新日志关于
2025 CometAPI。保留所有权利。隐私政策服务条款
Home/Models/OpenAI/dall-e-3
O

dall-e-3

每次请求:$0.016
New version of DALL-E for image generation.
新
商用
概览
功能亮点
定价
API

Technical Specifications of dall-e-3

SpecificationDetails
Model IDdall-e-3
Model typeImage generation model
Primary modalityText input → image output
Supported endpoint/images/generations
Input prompt limitUp to 4000 characters
Output countn=1 only
Supported sizes1024x1024, 1792x1024, 1024x1792
Quality optionsstandard, hd
Response formatsurl, b64_json
URL validityReturned image URLs are valid for 60 minutes
Best use caseHigh-quality image generation from detailed text prompts

What is dall-e-3?

dall-e-3 is OpenAI’s newer DALL·E image generation model, designed to create images from natural-language prompts with stronger prompt understanding, improved detail, and better text rendering in images than earlier DALL·E versions. It supports portrait, landscape, and square outputs, and is especially useful for users who want visually rich results from descriptive prompts.

This model is intended for image generation workflows where the input is text and the output is a generated image. It is available through the image generation API and is commonly used for marketing mockups, concept art, illustrations, product visuals, and other creative generation tasks.

Main features of dall-e-3

  • Improved prompt understanding: dall-e-3 is built to follow complex and descriptive prompts more accurately, helping generate results that better match user intent.
  • Higher-detail image generation: It produces more detailed visuals than older DALL·E models, making it suitable for polished creative outputs.
  • Text rendering in images: The model is better at generating readable text inside images, which is useful for posters, signs, labels, and similar designs.
  • Multiple aspect ratios: It supports square, portrait, and landscape image sizes, allowing more flexibility for different design and publishing needs.
  • Simple API usage: The model can be called by setting the model parameter to dall-e-3 in image generation requests.
  • Base64 or hosted URL output: You can retrieve results either as a temporary hosted image URL or as b64_json for direct downstream processing.
  • Quality controls: standard and hd quality options let developers balance speed and output quality depending on the use case.

How to access and integrate dall-e-3

Step 1: Sign Up for API Key

To get started, sign up on CometAPI and create your API key from the dashboard. After generating the key, store it securely and use it to authenticate requests to the dall-e-3 API. This key is required for all integration methods, including REST, SDK, and platform-based deployments.

Step 2: Send Requests to dall-e-3 API

Once you have your API key, send a request to the image generation endpoint and specify dall-e-3 as the model.

curl --request POST \
  --url https://api.cometapi.com/v1/images/generations \
  --header "Authorization: Bearer $COMETAPI_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "dall-e-3",
    "prompt": "A cinematic futuristic city skyline at sunset with flying cars and neon reflections",
    "size": "1024x1024",
    "quality": "hd",
    "response_format": "url"
  }'

Step 3: Retrieve and Verify Results

After submission, the API returns the generated image result for dall-e-3. Verify that the response contains the expected output format, such as a hosted image URL or base64 payload, then store, render, or pass the result into your application workflow. Be sure to validate the response structure and handle temporary URL expiry where applicable.

dall-e-3 的功能

了解 dall-e-3 的核心能力,帮助提升性能与可用性,并改善整体体验。

dall-e-3 的定价

查看 dall-e-3 的竞争性定价,满足不同预算与使用需求,灵活方案确保随需求扩展。
Comet 价格 (USD / M Tokens)官方定价 (USD / M Tokens)折扣
每次请求:$0.016
每次请求:$0.02
-20%

dall-e-3 的示例代码与 API

获取完整示例代码与 API 资源,简化 dall-e-3 的集成流程,我们提供逐步指导,助你发挥模型潜能。

更多模型

G

Nano Banana 2

输入:$0.4/M
输出:$2.4/M
核心能力概览:分辨率:最高 4K(4096×4096),与 Pro 相当。参考图像一致性:最多 14 张参考图像(10 个物体 + 4 个角色),保持风格/角色一致性。极端纵横比:新增 1:4、4:1、1:8、8:1 比例,适用于长图、海报和横幅。文本渲染:高级文本生成,适用于信息图和营销海报版式。搜索增强:集成 Google Search + 图片搜索。Grounding:内置思维过程;生成前先对复杂提示进行推理。
A

Claude Opus 4.6

输入:$4/M
输出:$20/M
Claude Opus 4.6 是 Anthropic 的“Opus”级大型语言模型,于 2026 年 2 月发布。其定位为知识工作与研究工作流的主力模型——提升长上下文推理、多步骤规划、工具使用(包括代理型软件工作流),以及计算机使用类任务,如自动生成幻灯片和电子表格。
A

Claude Sonnet 4.6

输入:$2.4/M
输出:$12/M
Claude Sonnet 4.6 是迄今为止我们最强大的 Sonnet 模型。它对模型在编码、计算机使用、长上下文推理、智能体规划、知识工作和设计等方面的能力进行了全面升级。Sonnet 4.6 还在 beta 阶段提供 1M token 上下文窗口。
O

GPT-5.4 nano

输入:$0.16/M
输出:$1/M
GPT-5.4 nano 专为速度和成本最为关键的任务而设计,例如分类、数据提取、排序以及子智能体。
O

GPT-5.4 mini

输入:$0.6/M
输出:$3.6/M
GPT-5.4 mini 将 GPT-5.4 的优势融入到一款更快速、更高效、专为大规模工作负载设计的模型中。
A

Claude Mythos Preview

A

Claude Mythos Preview

即将推出
输入:$60/M
输出:$240/M
Claude Mythos Preview 是我们迄今为止最强大的前沿模型,并显示出 在许多评测基准上的得分相较于我们此前的前沿模型 Claude Opus 4.6 有显著跃升。