تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

volcengine-image-generate

بواسطة warm-wm

Coding Agents & IDEs
619التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Using volcengine image_generate.py script to generate image, need to provide clear and specific `prompt`.

الوصف

ما الذي تفعله هذه المهارة

Generates images from text prompts by calling Volcengine's image generation API via a Python script. The script outputs a URL to the generated image. Credentials can be supplied as an API key or as Volcengine access/secret key pairs, with automatic fallback between the two.

Automatically falls back between multiple credential methods, so setup works whether you have an API key or raw Volcengine access credentials.

متى تستخدمها

  • Generating product concept visuals from written descriptions
  • Creating placeholder images for web or app projects
  • Producing quick visual references for design briefs
  • Generating illustrations for blog posts without design tools
  • Prototyping visual assets from written specifications

مثال على سير العمل

الإدخال

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

الوكيل
  1. 1

    Navigate to the directory containing the script

  2. 2

    Run python scripts/image_generate.py "a snowy mountain at sunset"

  3. 3

    Wait for the API to return a response

  4. 4

    Read the image URL printed to the console

الإخراج

A URL pointing to the generated image is printed to the console

المتطلبات

  • Volcengine account
  • MODEL_IMAGE_API_KEY or ARK_API_KEY environment variable
  • VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY environment variables (alternative credential method)

التثبيت

clawhub install warm-wm/volcengine-image-generate

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط