# 摄图AI-开放API ## API Docs - 图片生成 [生图](https://st-openapi.apifox.cn/508625284e0.md): 根据文本提示词创建图片生成任务。 - 图片生成 [图片抠图](https://st-openapi.apifox.cn/508625285e0.md): 移除输入图片背景。 - 图片生成 [图片变清晰](https://st-openapi.apifox.cn/508625286e0.md): 提升输入图片清晰度。 - 图片生成 [画面扩展](https://st-openapi.apifox.cn/508625287e0.md): 按四个方向比例或蒙版扩展图片画面。 - 图片生成 [高清放大](https://st-openapi.apifox.cn/508625288e0.md): 按倍率或目标尺寸放大图片。 - 图片生成 [图像消除](https://st-openapi.apifox.cn/508625292e0.md): 根据蒙版消除图片中的指定区域。 - 图片生成 [自动意图生图](https://st-openapi.apifox.cn/508625293e0.md): 根据提示词和可选参考图自动识别图片处理能力并选择模型。 - 图片生成 [模板生成图片](https://st-openapi.apifox.cn/508625294e0.md): 使用站内模板创建图片任务。 - 视频生成 [生成视频](https://st-openapi.apifox.cn/508625295e0.md): 创建文生视频、首尾帧、全能参考、视频编辑或视频延长任务。 - 任务查询 [查询生成任务](https://st-openapi.apifox.cn/508625296e0.md): 只能查询由当前 API Key 创建的任务。状态:0 待处理、1 处理中、2 成功、3 失败。 - 模板 [模板列表](https://st-openapi.apifox.cn/518148309e0.md): 查询站内模板。is_collect=true 时返回当前 API Key 绑定用户的收藏列表。 ## Schemas - [TemplateCover](https://st-openapi.apifox.cn/315914222d0.md): - [TemplateItem](https://st-openapi.apifox.cn/315914430d0.md): - [TemplateListData](https://st-openapi.apifox.cn/315914639d0.md): - [TemplateListEnvelope](https://st-openapi.apifox.cn/315914753d0.md): - [Model](https://st-openapi.apifox.cn/309403238d0.md): - [ImageModel](https://st-openapi.apifox.cn/309492319d0.md): - [ImageBaseRequest](https://st-openapi.apifox.cn/309403239d0.md): - [VideoModel](https://st-openapi.apifox.cn/309492320d0.md): - [TextToImageRequest](https://st-openapi.apifox.cn/309403240d0.md): - [ImageInputRequest](https://st-openapi.apifox.cn/309403241d0.md): - [PromptedImageInputRequest](https://st-openapi.apifox.cn/309403242d0.md): - [ExpansionRatios](https://st-openapi.apifox.cn/309403243d0.md): - [ExpansionRequest](https://st-openapi.apifox.cn/309403244d0.md): - [UpscaleRequest](https://st-openapi.apifox.cn/309403245d0.md): - [EraseRequest](https://st-openapi.apifox.cn/309403246d0.md): - [AutoImageRequest](https://st-openapi.apifox.cn/309403247d0.md): - [TemplateImageRequest](https://st-openapi.apifox.cn/309403248d0.md): - [VideoGenerationRequest](https://st-openapi.apifox.cn/309403249d0.md): - [SubmissionData](https://st-openapi.apifox.cn/309403250d0.md): - [TaskAsset](https://st-openapi.apifox.cn/309403251d0.md): - [TaskLayer](https://st-openapi.apifox.cn/309403252d0.md): - [TaskData](https://st-openapi.apifox.cn/309403253d0.md): - [SubmissionEnvelope](https://st-openapi.apifox.cn/309403254d0.md): - [TaskEnvelope](https://st-openapi.apifox.cn/309403255d0.md):