---
title: ConvertibleToGeneratedContent
framework: foundationmodels
role: symbol
role_heading: Protocol
path: foundationmodels/convertibletogeneratedcontent
---

# ConvertibleToGeneratedContent

A type that can be converted to generated content.

## Declaration

```swift
protocol ConvertibleToGeneratedContent : InstructionsRepresentable, PromptRepresentable
```

## Topics

### Getting the generated content

- [generatedContent](foundationmodels/convertibletogeneratedcontent/generatedcontent.md)

## Relationships

### Inherits From

- [InstructionsRepresentable](foundationmodels/instructionsrepresentable.md)
- [PromptRepresentable](foundationmodels/promptrepresentable.md)

### Inherited By

- [Generable](foundationmodels/generable.md)

### Conforming Types

- [GeneratedContent](foundationmodels/generatedcontent.md)
- [ImageReference](foundationmodels/imagereference.md)

## See Also

### Structured output

- [Generating Swift data structures with guided generation](foundationmodels/generating-swift-data-structures-with-guided-generation.md)
- [Generable](foundationmodels/generable.md)
- [GenerationSchema](foundationmodels/generationschema.md)
- [DynamicGenerationSchema](foundationmodels/dynamicgenerationschema.md)
- [GeneratedContent](foundationmodels/generatedcontent.md)
- [ConvertibleFromGeneratedContent](foundationmodels/convertiblefromgeneratedcontent.md)
