Skip to main content
POST
/
api
/
copy
Copy a model to a new name
curl http://localhost:11434/api/copy -d '{
  "source": "gemma3",
  "destination": "gemma3-backup"
}'

Body

application/json
source
string
required

Existing model name to copy from

destination
string
required

New model name to create