计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
openai-image-generation【效率与协作】GPT-1 | Image Generation. Generate images from text prompts using GPT-1 | Image Generation. Triggers: image generation, openai
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate images from text prompts using GPT-1 | Image Generation. Supports quality control.
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "openai-image-generation",
"version": "0.0.1",
"input": {
"prompt": "A watercolor painting of a cozy bookshop on a rainy day"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
background | string | auto | Options: auto, transparent, opaque |
image_size | string | auto | Options: auto, 1024x1024, 1536x1024, 1024x1536 |
number_of_images | integer | 1 | |
output_compression | integer | ||
output_format | string | jpeg | Options: png, jpeg, webp |
prompt | string | ||
quality | string | auto | Options: auto, high, medium, low |
Generate a landscape:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "openai-image-generation",
"version": "0.0.1",
"input": {
"prompt": "A watercolor painting of a cozy bookshop on a rainy day"
}
}'
Detailed scene with style:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "openai-image-generation",
"version": "0.0.1",
"input": {
"prompt": "An isometric 3D render of a tiny Japanese garden with a koi pond",
"image_size": "1536x1024",
"quality": "high"
}
}'