# Generating In-game assets

Here's a quick tutorial on how to generate in-game assets on Morphic:

{% embed url="<https://youtu.be/Ymp5ttNEEw4>" %}

1. Once your [Style Model is trained](https://morphic.com/docs/game-design/train-a-style-model), open a new file on Morphic
2. In the prompt bar, describe the type of asset you want to generate
3. From the Style Model dropdown on the prompt bar, select your trained model to match your game’s visual style
4. Click “Generate” to create your assets
5. Choose the generated asset you’d like to use in your game
6. Use the Segmentation or Layers feature to separate the asset from the background
7. Use Include Points to mark key elements (e.g., gun, sword, truck) that you want to extract
8. Add Exclude Points around the background to help isolate and cleanly separate those objects from the scene
9. Click the “Segment” button to separate the selected objects from the background
10. Move the separated assets freely, or place them in another frame as needed
11. Export the assets in your preferred format (currently, we support PNG, JPEG, or WebP)

That’s how you generate in-game assets, separate them cleanly from the background, and export them for use in your project.

***

### Reach out for help

If you have any trouble or have any questions, feel free to reach out. We're happy to help, write to us at [**support@morphic.com**](mailto:support@morphic.com)**.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://morphic.com/docs/game-design/generating-in-game-assets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
