---
title: "Create Task Runway"
method: POST
path: "/api/imgtovideo/v1/task"
tags: ["text2video"]
---

# Create Task Runway

`POST /api/imgtovideo/v1/task`

## Request

- Base URL: `https://api.videofaceswap.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.videofaceswap.io/api/imgtovideo/v1/task`
- Auth: none declared

## Query parameters

- `app_id` string, required

## Request body `application/x-www-form-urlencoded`

- BodyCreateTaskRunwayApiImgtovideoV1TaskPost
  - `videoItem` RoutersImgToVideoV1VideoItem, required
    - `promptImage` string, required: 图片地址
    - `promptText` string, required: 文本内容
    - `watermark` boolean: 是否携带runway水印
    - `duration` integer: 视频时长
    - `ratio` string: 视频比例
  - `user_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/videofaceswap/apis/videofaceswap-api.md) - [All operations](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/llms.txt) - [OpenAPI document](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/revisions/1b3dd1817626?raw)
