MyShell
search
⌘Ctrlk
MyShell
  • MyShell에 대하여
  • AI 에이전트 탐색하기
  • AI 에이전트 제작하기
    • Classic 모드
    • Pro Config 모드
      • 핵심 개념
      • 튜토리얼
      • 기본
      • 고급
      • 도구
      • Example
      • API 참조
        • Atomic State
        • Transition
        • Automata
        • Context
        • Module
          • AnyWidget Module
            • Prompt Widget
            • LLM Widget
            • TTS Widget
            • Code Runner Widget
            • Melo TTS
            • Age Transformation
            • ChatImg
            • GIF Generation
            • Music Generation
          • LLM Module
          • LLM Function Module
          • TTS Module
          • Google Search Module
        • Widgets
      • FAQs
      • Changelog
    • ShellAgent 모드
  • SHELL 런치패드
  • 토큰 경제학
  • 오픈소스 AI 프레임워크/SDK
  • 링크
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. AI 에이전트 제작하기chevron-right
  2. Pro Config 모드chevron-right
  3. API 참조chevron-right
  4. Modulechevron-right
  5. AnyWidget Module

ChatImg

hashtag
Widget

LogoChatIMG | MyShell Workshopapp.myshell.aichevron-right

hashtag
Config

ChatImg

hashtag
Example

PreviousAge Transformationchevron-leftNextGIF Generationchevron-right
  • Widget
  • Config
  • Example
{
  "id": "test",
  "initial": "home_state",
  "states": {
    "home_state": {
      "inputs": {
        "your_image_url": {
          "type": "image",
          "user_input": true
        },
        "your_question": {
          "type": "text",
          "user_input": true
        }
      },
      "tasks": [
        {
          "name": "any_module_test_task",
          "module_type": "AnyWidgetModule",
          "module_config": {
            "widget_id": "1743838640687026176",
            "output_name": "result",
            "image": "{{your_image_url}}",
            "prompt": "{{your_question}}",
            "top_p": 1,
            "temperature": 0.2,
            "max_tokens": 1024
          }
        }
      ],
      "render": {
        "text": "{{result.content}}",
        "buttons": [
          {
            "content": "Generate Again",
            "description": "",
            "on_click": "generate"
          }
        ]
      },
      "transitions": {
        "generate": "home_state"
      }
    }
  }
}