go

module
v0.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: Apache-2.0

README

Volcengine Lip Sync API Go SDK for RunAPI

The Volcengine Lip Sync Go SDK submits lip-sync video tasks and retrieves task results through RunAPI.

Install

go get github.com/runapi-ai/volcengine-lip-sync-sdk/go

Quick start

package main

import (
	"context"

	volcenginelipsync "github.com/runapi-ai/volcengine-lip-sync-sdk/go/volcenginelipsync"
)

func main() {
	client, err := volcenginelipsync.NewClient()
	if err != nil {
		panic(err)
	}
	result, err := client.LipSyncVideo.Run(context.Background(), volcenginelipsync.LipSyncVideoParams{
		Model:          "volcengine-lip-sync",
		Mode:           "lite",
		SourceVideoURL: "https://cdn.runapi.ai/public/samples/volcengine-lip-sync-source.mp4",
		SourceAudioURL: "https://cdn.runapi.ai/public/samples/volcengine-lip-sync-voice-adam.mp3",
	})
	if err != nil {
		panic(err)
	}
	_ = result.Videos
}

Use Create, Get, and Run for async workflows. Keep RUNAPI_API_KEY in the environment or your secret manager.

License

Licensed under the Apache License, Version 2.0.

Directories

Path Synopsis
Package volcenginelipsync provides the Volcengine Lip Sync API client.
Package volcenginelipsync provides the Volcengine Lip Sync API client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL