Cloud Native 6 min read

Deploy a One‑Click AI Script & Animation Platform with Function Compute

This guide walks you through using Alibaba Cloud Function Compute and Bailei Model Service to set up a cloud‑native, one‑click AI creation pipeline that turns scripts into subtitles, images, and videos for New Year storytelling.

Alibaba Cloud Native
Alibaba Cloud Native
Alibaba Cloud Native
Deploy a One‑Click AI Script & Animation Platform with Function Compute

Solution Overview

The solution uses Alibaba Cloud Function Compute (FC) to host a server‑less web service that orchestrates Baidu Bailei Model Service APIs. The workflow automatically generates a script, synthesizes voice, creates subtitles, generates images, and composes a video, enabling creators to produce New Year stories with a single click.

One‑Click Deployment

Open the Function Compute application template provided by the vendor.

Configure the parameters listed below.

Click Create and Deploy Default Environment . After deployment, the environment details show a domain name for the demo site.

Required Parameters

Deployment Type : Direct Deploy

Application Name : Auto‑generated (default)

Role Name : Template‑required role (authorize if prompted)

Region : East China 1 (Hangzhou) by default

Bailei API‑KEY : Retrieve from the deployment resources

OSS Bucket Name : Example animation-creation-test (or another bucket you own)

RAM Role ARN : Role that allows FC to access OSS (authorize when prompted)

Accessing the Demo Application

In the FC console, open Environment Details → Environment Info to find the domain.

Open the domain in a browser to load the example UI.

Generating a Video

Use the default character description and script prompt, or edit them.

Hover over Example 1 and click Use this Example .

Click Generate Video . The first run may take 15–20 minutes; subsequent runs typically finish in 2–5 minutes.

Deploying an Audio‑Book Generation Platform

The same parameters apply to the Cloud Native Application Platform (CAP) template. After configuring the project name, region, Bailei API‑KEY, OSS bucket, and roles, click Deploy Project and confirm. The resulting service provides an interface for audiobook creation using the same AI pipeline.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Cloud NativeVideo GenerationAlibaba CloudFunction ComputeAI content creationBailei Model Serviceserverless workflow
Alibaba Cloud Native
Written by

Alibaba Cloud Native

We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.