creative wordart jinshu

更新时间:
复制 MD 格式

WordArt Jinshu specializes in text—especially Chinese characters—for diverse use cases. It intelligently generates creative font styles, artistic textures, and personalized fonts from simple prompts. The service produces rich, visually engaging special-effect text in batches and provides precise control and artistic refinement for text recognition, creativity, and visual artistry. You can use it easily and quickly in documents, posters, and illustrations.

To quickly test and experience the feature effects, go to the ModelScope community and try out the WordArt Jinshu space.

Important

This document applies only to the China (Beijing) region. Use an API key from this region.

Model Calls

  1. WordArt Jinshu – Text Deformation: Text Deformation API details

  2. WordArt Jinshu – Text Texture Generation: Text Texture Generation API details

Function Introduction

Text Deformation

WordArt Jinshu – Text Deformation creatively modifies the outline of input text by adjusting its edges based on your prompt. This enables more expressive applications of a single font style. The output is a black-background image with white-masked text.

Input text: Guilin Landscapes

Prompt: Layered mountains, winding Li River, unique rock formations

Result:

20231117173455.jpg

Text Texture Generation

WordArt Jinshu – Text Texture Generation creatively designs input text or text images by applying materials and textures based on your prompt. This achieves effects such as 3D materials, scene integration, and light-and-shadow rendering. The result is exquisite, diverse artistic text that you can use directly as a poster with background.

Currently, two main categories are supported: “Custom” and “Preset Styles.” The “Custom” category offers three styles. You can customize texture effects using prompts based on these styles and specify both prompts and font types. The “Preset Styles” category offers 18 styles. These styles are preconfigured and do not support custom prompts or font types. Example images for each style are shown below:

  • Custom category:

image

  • Preset Styles category:

Waterfall (waterfall)

image.png

Snow Plateau (snow_plateau)

image.png

Primeval Forest (forest)

image.png

Sky Roaming (sky)

image.png

Chinese Style Architecture (chinese_building)

image.png

Fantasy Cartoon (cartoon)

image.png

Lego Blocks (lego)

image.png

Blooming Flowers (flower)

image.png

Acrylic (acrylic)

image.png

Marble (marble)

image.png

Felt Yarn (felt)

image.png

Vintage Oil Painting (oil_painting)

image.png

Watercolor (watercolor_painting)

image.png

Chinese Painting (chinese_painting)

image.png

Gongbi painting (meticulous-style painting)

image.png

City Night View (city_night)

image.png

Lake and Mountain Scenery (mountain_lake)

image.png

Autumn Leaves (autumn_leaves)

image.png

Sample Code

Prerequisites

  • You have activated the service and obtained an API key: Get API Key.

Note

The following code demonstrates how to use the Text Texture Generation API. Replace your-bailian-api-key in the example with your API key for the code to run correctly.

Dependencies and Code

curl --location 'https://dashscope.aliyuncs.com/api/v1/services/aigc/wordart/texture' \
--header 'X-DashScope-Async: enable' \
--header 'Authorization: Bearer <YOUR-DASHSCOPE-API-KEY>' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-DashScope-DataInspection: enable' \
--data '{
    "model": "wordart-texture",
    "input": {
        "text": 
        {
            "text_content": "Text Creativity",
            "font_name": "dongfangdakai",
            "output_image_ratio": "1:1"
        },
        "prompt": "Fruits, vegetables, warm color space",
        "texture_style": "material"
    },
    "parameters": 
    {
        "image_short_size": 704,
        "n": 2,
        "alpha_channel": false
    }
}'

FAQ

Can I use WordArt creative text generated by models for commercial purposes at no cost?

In most cases, if you hold valid intellectual property rights to your uploaded content, the intellectual property rights to the generated content remain with you. For more information, see the Alibaba Cloud Model Studio Service Agreement.

API Reference

For detailed information about calling the WordArt Jinshu API, see Text Texture Generation API details and Text Deformation API details.