Skip to main content

Module media

Module media 

Source

Structs§

GeneratedImage
One raw provider output, before Roder persists it as an artifact.
ImageGenerationBatch
Provider result for one image generation call, prior to artifact storage.
ImageModelDescriptor
MediaArtifact
MediaAttachment
MediaDimensions
MediaGenerationMetadata
Provider-reported metadata about how an artifact was generated. Persisted alongside the artifact so safety/watermark provenance survives restarts.
MediaGenerationOutput
MediaGenerationRequest
Canonical provider-neutral media generation request. All option fields are optional so legacy { "prompt": ... } tool arguments keep decoding.
MediaGenerationResponse
MediaGenerationUsage
MediaImageInput
Inline reference/edit image input passed to an image provider.
MediaPreview
MediaProviderDescriptor

Enums§

ImageGenerationAction
MediaKind
MediaPreviewStrategy

Constants§

FAKE_MEDIA_PROVIDER_ID
Provider id reserved for the deterministic offline image generator.

Traits§

MediaGeneratorProvider
Extension-host service for media (image/video) generation providers. Providers return raw bytes; the core runtime persists artifacts, applies policy, and emits events.

Functions§

data_url

Type Aliases§

MediaArtifactId