ai.content.Media$stream

A media payload the turn produced: a generated image, a file a provider-side tool wrote. The value is a real BAML media value, so `-> image` returns something callers can save or pass straight back into another prompt.

Reference version

Signature

class ai.content.Media$stream

A media payload the turn produced: a generated image, a file a provider-side tool wrote. The value is a real BAML media value, so -> image returns something callers can save or pass straight back into another prompt.

Source:<builtin>/ai/ns_content/content.bamlbytes 0–0

Fields

provider_id

string | null

revised_prompt

string | null