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

civitai-api-art

بواسطة shinnpuru

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

موجز

Generate AI artwork using CivitAI's JavaScript SDK.

الوصف

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

Generates AI images by calling CivitAI's JavaScript SDK with Stable Diffusion models. Supports custom prompts, negative prompts, seeds, samplers, LoRA networks, and output file paths via command-line flags.

Runs CivitAI image generation from a script without needing local GPU hardware or a Stable Diffusion installation.

متى تستخدمها

  • Generating anime-style character illustrations from text prompts
  • Creating reproducible images using fixed seed values
  • Applying LoRA networks for style-specific or character-specific generations
  • Switching between different Stable Diffusion checkpoints from CivitAI
  • Prototyping character or scene concepts without a local GPU setup

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

الإدخال

User asks: 'Generate a magical girl with silver hair and purple eyes against a night cityscape'

الوكيل
  1. 1

    Constructs a prompt string with the described visual attributes

  2. 2

    Sets width, height, steps, and CFG scale parameters for the generation

  3. 3

    Calls the CivitAI SDK with the prompt, negative prompt, and sampler settings

  4. 4

    Waits for the job to complete and retrieves the output image

  5. 5

    Saves the result to the specified file path and returns a markdown link

الإخراج

PNG image saved to magical_girl.png with a markdown link to the file

المتطلبات

  • CivitAI account
  • CIVITAI_API_TOKEN environment variable

التثبيت

clawhub install shinnpuru/civitai-api-art

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

الروابط