Get an API key
api.agents

Options · media

media: { image, video, voice, music }

Defaults for the four generators. They are defaults, not instructions: they apply only where the model said nothing.

defaults, not rulesan unknown key is refusedthe model still wins
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

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

KeyToolSettings
imagecreate_imagemodel · resolution · aspect · avoid
videocreate_videomodel · duration · resolution · audio · aspect
voicecreate_voicevoice
musiccreate_musicduration · 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.

An unknown key is refused rather than ignored

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

Resolution and duration are the price

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.