Create an Anima playground from a prompt, website URL, or Figma design.
Returns a playground URL where the generated code can be viewed and edited.
**Input types (set via "type" field):**
- "p2c": Generate from a text prompt. Requires: prompt. Styling: tailwind, css, inline_styles.
- "l2c": Convert a website URL to code. Requires: url. Styling: tailwind, inline_styles. uiLibrary: shadcn only.
- "f2c": Convert Figma frames to code. Requires: fileKey, nodesId (also requires X-Figma-Token header). Styling: tailwind, plain_css, css_modules, inline_styles. uiLibrary: mui, antd, shadcn, clean_react.
**Common fields:** framework (react or html), styling (see per-type options above).
**React-only fields:** language (typescript or javascript), uiLibrary (see per-type options above).
**Returns:** { success, sessionId, playgroundUrl }
Connector