Cloud Native 8 min read

Build AI-Powered Chinese New Year Audio Picture Books with Alibaba Cloud CAP

This guide walks you through using Alibaba Cloud's Cloud Native Application Development Platform (CAP) and Bailei model service to automatically create AI audio picture books for the Spring Festival, covering architecture, deployment steps, and hands‑on video generation.

Alibaba Cloud Developer
Alibaba Cloud Developer
Alibaba Cloud Developer
Build AI-Powered Chinese New Year Audio Picture Books with Alibaba Cloud CAP

1. Introduction

Celebrate the Spring Festival with a week‑long AI "Year‑Flavor" series that lets you create unique audio picture books, custom greeting cards, poems, and more, using Alibaba Cloud's Cloud Native Application Development Platform (CAP) and Bailei model service.

2. Deployment Process

Overall Architecture

The solution consists of a CAP project for the web service and workflow, an OSS bucket for storing media, and Bailei model service for content generation, voice synthesis, and subtitle creation.

Simplified operation: visual workflow builder requires no complex coding.

Higher efficiency: AI automates content generation, voice synthesis, subtitle extraction, and parallel video rendering.

Personalized content: generate custom text, images, audio, subtitles, and video templates.

Cost reduction: less reliance on professional staff and expensive equipment.

The following resources are required:

1 CAP project for deploying the audio book web service and workflow.

1 OSS bucket for storing images, audio, and video.

Bailei model service for API‑based content generation.

Creating Resources with Function Compute Templates

Enable Bailei model service and create an OSS bucket.

Click the CAP project template link: https://cap.console.aliyun.com/create-project?template=ai-audiobook-flow and configure parameters as shown in the table.

Parameter table:

Project

Description

Example Value

Project Name

Auto‑generated.

Default

Region

FC deployment region.

East China 1 (Hangzhou)

Bailei API‑KEY

Bailei API‑KEY.

Obtained from deployed resources

OSS Bucket Name

Select bucket name.

ai-audiobook

Function role for OSS access

Role used by Function Compute to access OSS.

Grant required permissions if prompted.

Namespace

Auto‑generated, distinguishes application addresses.

Default

Workflow role for function access

Service role used by workflow to invoke functions.

Grant required permissions if prompted.

After configuring, click “Deploy Project” and confirm; the deployment succeeds as shown below.

3. Application Experience

Accessing the Sample Application

Find the access URL after deployment (see screenshot).

Click the URL to open the sample app.

Generating Videos with Official Examples

Use the default text prompts to generate a video.

Hover over Example 1 and click “Use this example”.

Click “Generate Video” and wait 2–5 minutes for the result.

Custom Prompt: Create a Spring Festival Picture Book

Enter your own text prompts and generate a customized video.

Click “Read Original Article” to try the one‑click AI audio picture book creation and receive a New Year gift.

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 NativeAIAlibaba CloudCAPAudio Book
Alibaba Cloud Developer
Written by

Alibaba Cloud Developer

Alibaba's official tech channel, featuring all of its technology innovations.

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.