api.agents.create({
runtime: "local", machine: pc, model,
media: {
image: { resolution: "2K", aspect: "16:9" },
video: { model: "veo-3.1-lite", duration: 4, resolution: "720p" },
voice: { voice: "Kore" },
music: { duration: 30, style: "lo-fi" },
},
});from iagenify import MEDIA_OPTIONS
# The Python engine has no media option: the model passes these in each
# create_image / create_video / create_voice / create_music call.
MEDIA_OPTIONS["image"]["params"] # resolution, aspect, …
MEDIA_OPTIONS["video"]["model"] # the default video model
agent = api.agents.create(
runtime="local", machine=pc, model=model,
system="Images in 2K at 16:9; videos with veo-3.1-lite, 4 seconds at 720p; voice Kore; music 30 s lo-fi.",
)The four keys
| Key | Tool | Settings |
|---|---|---|
image | create_image | model · resolution · aspect · avoid |
video | create_video | model · duration · resolution · audio · aspect |
voice | create_voice | voice |
music | create_music | duration · tempo · style |
The key is the tool's short name — create_video is video. Anything else is refused at creation with invalid_media naming the four.
A misspelled setting that does nothing is exactly what you do not want from a configuration panel: it looks applied and is not. Failing at creation is the only way to find out.
The model's choice wins
A default applies where the model said nothing. « Make it portrait » in the conversation beats an aspect set here — which is what makes this a panel of defaults rather than a set of constraints.
A default goes through the same guards
The merged arguments are what is checked, so a default the chosen model cannot honour — audio on a model that has none — is caught before the call rather than failing at the provider with the credit already taken.
They change what a run costs
An image default of 4K is 38 credits a picture instead of 17 at 1K. A video default of 8 seconds at the top model with sound is hundreds. Set these together with a budget.