marina.json, then call marina.ai.generate:
marina.json
{ text }.
Choosing a model
model accepts a stable class or a specific model id:
fast: quick, inexpensive responses.smart: the stronger default for most work.- A model id from Marina’s library, in
vendor/modelform, for exampleanthropic/claude-sonnet-5.
Who pays
By default, generations bill the organization’s Marina-managed key. To bill your own account instead, add an OpenRouter connection under Settings → Connections with yoursk-or- API key. While it is active,
your workspace’s generations run on your OpenRouter account and its model
access.
Limits
- Up to 64 messages per request; 32 KiB per message; 128 KiB total input.
maxOutputTokensup to 4,096 (default 1,024 forfast, 2,048 otherwise).- Roles are
system,user, andassistant; content is text. - Generation is non-streaming.