Create Video From Image with Effects
April 18, 2025 (October 1, 2025)
Table of contents
This endpoint generates a video from an image using special effects.
https://api.useapi.net/v1/kling/videos/image2video-effects
Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
# Alternatively you can use multipart/form-data
# Content-Type: multipart/form-data
- API tokenis required, see Setup useapi.net for details.
Request Body
{
  "email": "[email protected]",
  "effect": "rocket",
  "image": "https://example.com/image.jpg",
  "prompt": "A detailed description for the effect",
  "mode": "std",
  "replyUrl": "https://your-callback-url.com/webhook",
  "replyRef": "your-reference-id"
}
-  emailis optional when only one account configured.
 However, if you have multiple accounts configured, this parameter becomes required.
-  effectis required, the name of the effect to apply.
 Get available effects from GET /videos/effects.
-  imageis required, URL to the image to animate.
 Image can be uploaded using POST /assets and the returned URLs can be used here.
-  promptis optional, text description to guide the effect.
 Some effects support custom prompts while others use default prompts. Maximum length: 2500 characters.
-  modeis optional, generation quality mode. Accepted values:std(standard),pro(professional).
 Defaults tostd. Not all effects support all modes - check the effect details from GET /videos/effects.
-  maxJobsis optional, range from1to50.
 Specifies the maximum number of concurrent jobs.
-  replyUrlis optional, a callback URL to receive generation progress and result.
 See GET /tasks/task_idfor response model.
-  replyRefis optional, a reference identifier for the callback.
Notes:
- Different effects have different capabilities. Check the response from GET /videos/effects to see if an effect supports custom prompts and which modes are available.
- Effects marked as effectSupported: falserequire image preprocessing and are not yet supported.
- Effects with promptSupported: trueaccept custom prompts, while others use built-in default prompts.
- The modeparameter allows selection between standard and professional quality where supported.
Responses
-   { "task": { "id": 123456789, "userId": 12345, "type": "m2v_img2video_se_hq", "scene": "NORMAL_CREATION", "status": 5, "status_name": "submitted", "status_final": false, "taskInfo": { "type": "m2v_img2video_se_hq", "inputs": [ { "name": "input", "inputType": "URL", "token": null, "blobStorage": null, "url": "https://example.com/image.jpg", "cover": null, "fromWorkId": null, "fromUploadId": null } ], "arguments": [ { "name": "special_effect", "value": "expansion" }, { "name": "prompt", "value": "A detailed description for the effect" }, { "name": "kling_version", "value": "1.6" }, { "name": "model_mode", "value": "std" }, { "name": "seStepName", "value": "seSubmit" }, { "name": "biz", "value": "klingai" } ], "extraArgs": {}, "callbackPayloads": [], "scene": "NORMAL_CREATION" }, "favored": false, "deleted": false, "viewed": false, "createTime": 1753424884354, "updateTime": 1753424884354, "viewTime": 0 }, "works": [], "status": 5, "status_name": "submitted", "status_final": false, "message": "", "limitation": null, "userPoints": { "points": [ { "orderId": "…", "type": "recharge", "amount": 66000, "balance": 25540, "startTime": 1752894669788, "endTime": 1815966669788 } ], "total": 25540 }, "userTickets": { "ticket": [ { "orderId": "…", "type": "priority", "packageType": "reward", "amount": 1, "balance": 1, "startTime": 1751329144926, "endTime": 1754007544926 } ] }, "editProject": null }
-   { "error": "Effect rocket not found. Supported effects: cartoon,cyberpunk,spinoff" }
-   { "error": "Unauthorized", "code": 401 }
-   Kling was unable to locate one of the referenced assets. Make sure to use POST /assets to upload assets. { "error": "Sorry, the requested resource was not found (VALID.ResourceNotFound)", "message": "Not Found" }
-   Kling uses a 500response to indicate moderation and other issues with the input. It may be hard to separate actual 500 errors from moderation errors, so use theerrorfield text and your best judgement to tell them apart, since themessagefield most often has very generic and perhaps misleading text.{ "error": "The content you uploaded appears to violate the community guidelines. (CM_EXT.POther)", "message": "Service busy (CM_EXT.POther)" }
When successful, the response includes a task ID which can be used to check the status using GET /tasks/task_id.
Model
{ // TypeScript, all fields are optional
    task: {
        id: number
        userId: number
        type: string
        scene: string
        status: number
        status_name: 'submitted' | 'failed' | 'processing' | 'succeed'
        status_final: boolean
        taskInfo: {
            type: string
            inputs: Array<{
                name: string
                inputType: string
                token: string | null
                blobStorage: any | null
                url: string
                cover: string | null
                fromWorkId: number | null
            }>
            arguments: Array<{
                name: string
                value: string
            }>
            extraArgs: Record<string, any>
            callbackPayloads: any[]
            scene: string
        }
        favored: boolean
        deleted: boolean
        viewed: boolean
        createTime: number
        updateTime: number
        viewTime: number
    }
    works: Array<any>
    status: number
    status_name: 'submitted' | 'failed' | 'processing' | 'succeed'
    status_final: boolean
    message: string
    error: string
    limitation: {
        type: string
        remaining: number
        limit: number
    }
    userPoints: {
        points: Array<{
            orderId: string
            type: string
            amount: number
            balance: number
            startTime: number
            endTime: number
        }>
        total: number
    }
    userTickets: {
        ticket: Array<{
            orderId: string
            type: string
            packageType: string
            amount: number
            balance: number
            startTime: number
            endTime: number
        }>
    }
    editProject: any | null
}
Examples
-  curl -X POST "https://api.useapi.net/v1/kling/videos/image2video-effects" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer …" \ -d '{ "email": "[email protected]", "effect": "rocket", "image": "https://example.com/image.jpg" }'
-  const token = "API token"; const email = "Previously configured account email"; const apiUrl = "https://api.useapi.net/v1/kling/videos/image2video-effects"; const response = await fetch(apiUrl, { method: "POST", headers: { "Content-Type": "application/json", "Authorization": `Bearer ${token}`, }, body: JSON.stringify({ email: email, effect: "rocket", image: "https://example.com/image.jpg" }) }); const result = await response.json(); console.log("response", {response, result});
-  import requests token = "API token" email = "Previously configured account email" apiUrl = "https://api.useapi.net/v1/kling/videos/image2video-effects" headers = { "Content-Type": "application/json", "Authorization" : f"Bearer {token}" } data = { "email": email, "effect": "rocket", "image": "https://example.com/image.jpg" } response = requests.post(apiUrl, headers=headers, json=data) print(response, response.json())