Actions24
- Audio Actions
- Image Actions
- Video Actions
- Animate Mix | 视频换人
- Animate Move | 图生动作
- Emoji Video | Emoji 视频生成
- Image to Video (First & Last Frames) | 图生视频(首尾帧)
- Image to Video (First Frame) | 图生视频(首帧)
- Video Continuation | 视频续写
- Reference to Video | 参考生视频(wan2.6)
- Text to Video | 文生视频
- Video Editing & Effects | 视频编辑与特效
- Video Retalk (Lip Sync) | VideoRetalk 口型复刻
- Task Actions
- Vision Actions
- File Actions
Image → Image Outpainting | 画面外扩
AI-generatedSummary
Extend an input image's canvas outward by specified scaling factors or output aspect ratio, using the Aliyun image outpainting model to generate coherent content beyond the original boundaries.
Inputs
- Model | 模型 (required) — Choose the image outpainting model variant; default is 'Image Out Painting · 画面外扩' which supports proportional or aspect-ratio based expansions.
- Image URL | 原始图 URL (required) — Provide the URL of the original image to be extended.
- Output Ratio | 输出宽高比 — Specify the desired output width-to-height ratio (e.g., 4:3); if set, this overrides X and Y scale factors.
- X Scale | 横向扩展 — Horizontal scale factor to extend the image width (used only if output ratio is not set).
- Y Scale | 纵向扩展 — Vertical scale factor to extend the image height (used only if output ratio is not set).
- Left Offset | 左侧填充 — Additional pixels to pad on the left side before outpainting.
- Right Offset | 右侧填充 — Additional pixels to pad on the right side before outpainting.
- Top Offset | 上侧填充 — Additional pixels to pad on the top side before outpainting.
- Bottom Offset | 下侧填充 — Additional pixels to pad on the bottom side before outpainting.
- Angle | 旋转角度 — Rotation angle in degrees to apply to the image before outpainting.
- Best Quality | 优先质量 — Boolean flag to prioritize output quality over processing speed.
- Limit Image Size | 限制输出尺寸 — Boolean flag controlling whether to limit the output image dimensions after outpainting.
- Add Watermark | 添加水印 — Boolean flag to add an "AI生成" watermark to the output image.
- Poll Interval (MS) — Interval in milliseconds between polling attempts when waiting for asynchronous task completion.
- Max Wait (Seconds) — Maximum time in seconds to wait for the task to complete before timing out.
Output shape
a single JSON object containing the extended image URL and metadata about the outpainting task
The operation submits an asynchronous task to Aliyun and polls until completion or timeout based on poll interval and max wait. The output includes URLs and task status. Error details are provided on failure.