set_config
Adjust model, size, output directory, or timeout settings and save them permanently. New settings take effect on the next call without a restart.
Instructions
Change settings and persist them to the config file. Call this when the user asks to switch a model, change a default size, output directory or timeout, or change provider. Only the fields passed are changed and everything else is preserved. Changes take effect on the next call with no restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | API key to store. Write-only: no tool ever returns it. Omit to keep the current key. | |
| baseUrl | No | API base URL override. Omit to use the provider default. | |
| provider | No | Provider id. Known: ark. | |
| imageSize | No | Default image size as WxH, for example 1024x1024. | |
| outputDir | No | Default output directory. Set to an empty string to fall back to <workspace>/image_output. | |
| imageModel | No | Default image model id. | |
| videoModel | No | Default video model id. Video is generated only by an explicit generate_video call. | |
| imageTimeoutMs | No | Default budget for one image call, in milliseconds. Raise it for a slow provider. | |
| videoTimeoutMs | No | Default budget for the whole video flow, in milliseconds. A five second clip measured about four minutes. |