> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thesys.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Editing Artifacts

> Modify existing artifacts through prompt-based instructions or direct manual editing

Artifacts are designed to be refined iteratively. Once an artifact has been generated, there are two ways to edit it:

**1. Prompt-Based Editing:**
Send the existing artifact content back to the API along with a new prompt describing the desired changes. The model processes the instructions and returns a modified version of the artifact—no need to regenerate from scratch.

**2. Manual Editing:**
Allow users to directly edit the content of a rendered artifact on the frontend. By enabling this feature, an "Edit" button appears on the artifact, letting users modify text, titles, and images as if editing a document.

### Guides in This Section

* **[Prompt-Based Editing](/guides/artifacts/editing/prompt-based):**
  Learn how to send existing artifact content back to the API with a new prompt to make modifications programmatically.

* **[Manual Editing](/guides/artifacts/editing/manual):**
  Learn how to enable direct, in-place editing of artifacts on the frontend using C1 component props.
