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

test-materials

cai-zhuo द्वारा

DevOps & Cloud
366clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Render JSON schemas to images and generate schemas from prompts using declare-render and AI.

विवरण

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

A CLI tool for working with declare-render JSON schemas. It renders schemas to PNG or JPG images, validates schema files against the declare-render format, and generates schemas from text prompts using OpenAI.

Combines schema generation, validation, and rendering in a single CLI instead of requiring separate tools for each step.

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

  • Rendering a JSON layout schema to a PNG for design review
  • Generating an image from a plain-text description without writing JSON
  • Validating a schema file before passing it to a render pipeline
  • Exporting structured visual templates as static image files
  • Prototyping image layouts by describing them in natural language

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

इनपुट

User asks: generate an image of a red circle with the text 'Hello'

एजेंट
  1. 1

    Runs materials generate "A red circle with text Hello" -o out.png

  2. 2

    OpenAI generates a declare-render JSON schema from the prompt

  3. 3

    CLI validates the generated schema against the declare-render format

  4. 4

    CLI renders the schema to out.png

आउटपुट

out.png saved to the working directory containing a red circle with 'Hello' text

आवश्यकताएँ

  • OPENAI_API_KEY — OpenAI API key, required for the generate command

इंस्टॉलेशन

clawhub install cai-zhuo/test-materials

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

लिंक