कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

zhipu-cogview-image

honestqiao द्वारा

Image & Video Generation
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Generate images using Zhipu AI's CogView model.

विवरण

यह स्किल क्या करती है

Generates images from text prompts using Zhipu AI's CogView-4 model via API calls. Requires a Zhipu AI API key and communicates over HTTPS with input validation and JSON escaping built in.

Uses CogView-4, a model specifically trained on Chinese-language and culturally relevant content, making it more suitable than Western alternatives for prompts involving Chinese aesthetics or subjects.

इसे कब इस्तेमाल करें

  • Generate illustrations from text descriptions
  • Create concept art for a project
  • Produce reference images for design work
  • Generate images of specific scenes or characters
  • Quickly prototype visual ideas without design tools

उदाहरण वर्कफ़्लो

इनपुट

User asks: Generate an image of a mountain village at sunset

एजेंट
  1. 1

    Set ZHIPU_API_KEY environment variable

  2. 2

    Construct JSON payload with model cogview-4 and the prompt

  3. 3

    Send POST request to Zhipu AI images/generations endpoint via curl

  4. 4

    Parse response with jq to extract image URL

आउटपुट

A URL pointing to the generated image of a mountain village at sunset

आवश्यकताएँ

  • ZHIPU_API_KEY environment variable
  • Zhipu AI account at bigmodel.cn

इंस्टॉलेशन

clawhub install honestqiao/zhipu-cogview-image

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक