الانتقال إلى المحتوى الرئيسي
POST

التفويضات

Authorization
string
header
مطلوب

الترويسات

accept
enum<string>

Openai Images Generations Param Accept

الخيارات المتاحة:
application/json

الجسم

application/json
prompt
string
مطلوب

Openai Images Generations Prompt

مثال:

"A cute baby sea otter"

model
enum<string>
مطلوب

Openai Images Generations Model

الخيارات المتاحة:
dall-e-2,
dall-e-3,
gpt-image-1,
gpt-image-1.5,
gpt-image-2,
gpt-image-2.5-flare,
gpt-image-2.5-flare:reverse,
gpt-image-2.5-flare:official,
gpt-image-2.5-sunburst,
gpt-image-2.5-sunburst:reverse,
gpt-image-2.5-sunburst:official,
gpt-image-2:reverse,
gpt-image-2:official,
nano-banana,
nano-banana-2-lite,
nano-banana-2,
nano-banana-2.1,
nano-banana-pro,
gpt-image-2.6-flare,
gpt-image-2.6-flare:reverse,
gpt-image-2.6-flare:official,
gpt-image-2.6-sunburst,
gpt-image-2.6-sunburst:reverse,
gpt-image-2.6-sunburst:official
background
enum<string>
افتراضي:auto

Openai Images Generations Background

الخيارات المتاحة:
transparent,
opaque,
auto
moderation
enum<string>
افتراضي:auto

Openai Images Generations Moderation

الخيارات المتاحة:
low,
auto
n
integer
افتراضي:1

Openai Images Generations N

النطاق المطلوب: 1 <= x <= 10
مثال:

1

output_compression
integer
افتراضي:100

Openai Images Generations Output Compression

النطاق المطلوب: 0 <= x <= 100
output_format
enum<string>
افتراضي:png

Openai Images Generations Output Format

الخيارات المتاحة:
png,
jpeg,
webp,
gif
partial_images
integer
افتراضي:0

Openai Images Generations Partial Images

النطاق المطلوب: 0 <= x <= 3
size
string | null
افتراضي:auto

Openai Images Generations Size

Pattern: ^(auto|\d+x\d+)$
مثال:

"1024x1024"

quality
enum<string>
افتراضي:auto

Openai Images Generations Quality

الخيارات المتاحة:
auto,
high,
medium,
low,
xhigh,
max,
hd,
standard
مثال:

"auto"

response_format
enum<string> | null
افتراضي:url

Openai Images Generations Response Format

الخيارات المتاحة:
url,
b64_json
مثال:

"url"

style
enum<string>
افتراضي:vivid

Openai Images Generations Style

الخيارات المتاحة:
vivid,
natural
مثال:

"vivid"

callback_url
string

Openai Images Generations Callback Url

async
boolean

Openai Images Generations Async

frame_count
integer

Openai Images Generations Frame Count

النطاق المطلوب: 2 <= x <= 16
مثال:

9

frame_duration_ms
integer

Openai Images Generations Frame Duration Ms

النطاق المطلوب: 20 <= x <= 655350
مثال:

200

complexity
enum<string>

Openai Images Generations Complexity

الخيارات المتاحة:
low,
medium,
high

الاستجابة

Openai Images Generations Response 200

data
object[]
مطلوب
created
number
مطلوب