计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
stable-diffusion-3-5-medium【效率与协作】Stable Diffusion 3.5 Medium | AI Image Generation. Generate images from text with optional img2img mode. Triggers: stable diffusion 3.5, sd 3.5 medium, text to image, image generation, sd3
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate images from text prompts using Stable Diffusion 3.5 Medium. Supports text-to-image and image-to-image modes with configurable aspect ratio, guidance, and quality settings.
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": "stable-diffusion-3-5-medium",
"version": "0.0.1",
"input": {
"prompt": "a majestic eagle soaring over snow-capped mountains, photorealistic, golden hour lighting",
"aspect_ratio": "16:9",
"cfg": 5,
"steps": 40,
"output_format": "webp"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | string | 1:1 | Output aspect ratio. enum: 1:1, 16:9, 21:9, 3:2, 2:3, 4:5, 5:4, 3:4, 4:3, 9:16, 9:21 |
| cfg | number | 5 | Guidance scale - how similar the output should be to the prompt |
| image | string | - | Input image for image-to-image mode |
| output_format | string | webp | Output format. enum: webp, jpg, png |
| output_quality | integer | 90 | Quality of output images, from 0 to 100 |
| prompt | string | - | Text prompt for image generation |
| prompt_strength | number | 0.85 | Prompt strength when using image-to-image. 1.0 is full destruction of input |
| seed | integer | - | Set a seed for reproducibility. Random by default |
| steps | integer | 40 | Number of steps to run the sampler for |
Detailed character art:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "stable-diffusion-3-5-medium",
"version": "0.0.1",
"input": {
"prompt": "a steampunk inventor in their workshop, intricate gears and brass instruments, warm candlelight, detailed illustration",
"aspect_ratio": "4:5",
"cfg": 6,
"steps": 45,
"output_format": "png",
"output_quality": 100
}
}'
Image-to-image transformation:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "stable-diffusion-3-5-medium",
"version": "0.0.1",
"input": {
"prompt": "a watercolor painting of a peaceful countryside village",
"image": "https://example.com/village-photo.jpg",
"prompt_strength": 0.7,
"cfg": 5,
"steps": 35,
"seed": 42
}
}'