Skip to main content
The SDK exports request and result types through MynthSDKTypes.

Import SDK types

Useful exported types

These types are members of the MynthSDKTypes namespace — access them as MynthSDKTypes.<Name> (they are not re-exported as top-level names):
  • MynthSDKTypes.ImageGenerationRequest
  • MynthSDKTypes.ImageGenerationModel
  • MynthSDKTypes.TaskData
  • MynthSDKTypes.TaskStatus
  • MynthSDKTypes.WebhookPayload
The model metadata types are exported directly:

Runtime model metadata

The SDK also exports AVAILABLE_MODELS.
Capability strings (ModelCapability) include:
  • inputs
  • mynth_magic_prompt
  • negative_prompt
  • 4k
  • native_enhance_prompt

Where to browse models

For human-facing model discovery, use mynth.io/models. For application logic, use AVAILABLE_MODELS and set the model explicitly in production flows.