wenxin-text-generation

Generate streaming text from prompts using Wenxin ERNIE 4.5 Turbo.

23|4|Updated May 7, 2026
One-click install
npx skills add https://github.com/qq5855144/GitHubM --skill wenxin-text-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wenxin-text-generation
Source: https://github.com/qq5855144/GitHubM/tree/main/.skills/wenxin-text-generation
Command: npx skills add https://github.com/qq5855144/GitHubM --skill wenxin-text-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the friction of drafting, rewriting, summarizing, and translating text by turning simple prompts into high-quality generated output.

Core Features & Use Cases

  • Streaming Text Generation: Produce assistant replies incrementally for chat, writing, and content workflows.
  • Language Transformation: Summarize long text, translate between languages, and polish tone or style.
  • Practical Use Case: Use it to turn a rough paragraph into a concise summary, a cleaner rewrite, or a natural translated version for publishing or review.

Quick Start

Use the wenxin-text-generation skill to draft, summarize, translate, or polish your text with ERNIE 4.5 Turbo.

Frequently Asked Questions about wenxin-text-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate streaming text responses with ERNIE 4.5 Turbo for a chat workflow?

Streaming text generation with ERNIE 4.5 Turbo produces assistant replies incrementally using SSE chat-completions. It parses eventsource-compatible chunks and extracts content from choices[0].delta.content for real-time chat workflows.

Can I use ERNIE 4.5 Turbo to summarize long text or translate between languages?

ERNIE 4.5 Turbo supports summarization, translation, and rewriting tasks. You provide a prompt containing the source text, and the skill outputs a concise summary, polished rewrite, or natural translated version.

How does SSE chunk parsing work for Wenxin text generation?

SSE chunk parsing for Wenxin text generation processes eventsource-parser-compatible data streams. It continuously extracts generated text from choices[0].delta.content in each chunk to assemble the full response incrementally.

Do I need an INTEGRATIONS_API_KEY to handle SSE chat completions with ERNIE?

Yes, SSE chat-completions with ERNIE require platform-managed INTEGRATIONS_API_KEY authorization. This key secures the streaming text generation requests sent to the Wenxin ERNIE 4.5 Turbo endpoint.

What's the best way to draft and polish content using ERNIE 4.5 Turbo?

Drafting and polishing content with ERNIE 4.5 Turbo involves sending prompts to its streaming text generation interface. This transforms rough paragraphs into cleaner rewrites or concise summaries suitable for publishing across web and app workflows.

Does Wenxin text generation work across web, mini program, and app platforms?

Wenxin text generation applies across web, mini program, and app workflows. The streaming SSE chat-completions interface integrates into diverse platforms to provide incremental text generation for various content and communication tasks.