{
  "name": "MojiStudio Creative Agent",
  "description": "Generates on-brand advertising images and short marketing videos for Thai SME marketers, and quotes the credit cost before spending. Authenticate with a workspace API key (msk_...).",
  "version": "1.0.0",
  "supportedInterfaces": [
    {
      "url": "https://api.studio.mojichat.co/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    }
  ],
  "capabilities": {
    "streaming": true,
    "pushNotifications": false,
    "extensions": [
      {
        "uri": "https://a2ui.org/a2a-extension/a2ui/v0.9.1",
        "description": "Renders result surfaces as A2UI messages in an application/a2ui+json data part.",
        "required": false
      }
    ]
  },
  "provider": {
    "organization": "MojiChat",
    "url": "https://mojichat.co"
  },
  "skills": [
    {
      "id": "create_ad_images",
      "name": "Create advertising images",
      "description": "Generate one or more on-brand advertising images from a brief. Data part: { skill: \"create_ad_images\", brief, modelSlug?, count?, aspect?, channel?, lockedFacts? }.",
      "tags": [
        "image",
        "advertising",
        "marketing"
      ],
      "examples": [
        "Create a Songkran promotion image for an iced coffee, 1:1, with the text 'ลด 50%'.",
        "{ \"skill\": \"create_ad_images\", \"brief\": \"โปรโมชันกาแฟสงกรานต์\", \"count\": 2, \"aspect\": \"1:1\" }"
      ],
      "inputModes": [
        "text/plain",
        "application/json"
      ],
      "outputModes": [
        "image/png",
        "image/jpeg",
        "image/webp",
        "application/json"
      ]
    },
    {
      "id": "create_video",
      "name": "Create a short marketing video",
      "description": "Generate a short marketing video clip from a brief. Data part: { skill: \"create_video\", brief, modelSlug?, aspect?, seconds? }. Streams progress.",
      "tags": [
        "video",
        "advertising",
        "marketing"
      ],
      "examples": [
        "Make a 5-second 16:9 teaser video for a new bubble-tea flavour.",
        "{ \"skill\": \"create_video\", \"brief\": \"โฆษณาชาไข่มุกรสใหม่\", \"seconds\": 5, \"aspect\": \"16:9\" }"
      ],
      "inputModes": [
        "text/plain",
        "application/json"
      ],
      "outputModes": [
        "video/mp4",
        "application/json"
      ]
    },
    {
      "id": "quote",
      "name": "Quote the credit cost",
      "description": "Return the credit cost of an image or video request WITHOUT spending. Data part: { skill: \"quote\", brief?, modelSlug?, count?, channel? }.",
      "tags": [
        "quote",
        "pricing",
        "credits"
      ],
      "examples": [
        "How many credits to generate 3 Instagram-story ad images?",
        "{ \"skill\": \"quote\", \"modelSlug\": \"...\", \"count\": 3, \"channel\": \"ig-story\" }"
      ],
      "inputModes": [
        "text/plain",
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    }
  ],
  "defaultInputModes": [
    "text/plain",
    "application/json"
  ],
  "defaultOutputModes": [
    "image/png",
    "image/jpeg",
    "image/webp",
    "video/mp4",
    "application/json",
    "application/a2ui+json"
  ],
  "securitySchemes": {
    "workspaceApiKey": {
      "httpAuthSecurityScheme": {
        "description": "A MojiStudio workspace API key (msk_...). Create one in the creator app.",
        "scheme": "bearer",
        "bearerFormat": "msk"
      }
    }
  },
  "securityRequirements": [
    {
      "schemes": {
        "workspaceApiKey": {
          "list": []
        }
      }
    }
  ]
}