---
title: "One public template by slug (or id)"
method: GET
path: "/api/public/generation-templates/{slug}"
tags: ["Public"]
---

# One public template by slug (or id)

`GET /api/public/generation-templates/{slug}`

## Request

- Base URL: `https://splice.film.fun`
- URL: `https://splice.film.fun/api/public/generation-templates/{slug}`
- Auth: none required

## Path parameters

- `slug` string, required

## Response `200`

The template

- object
  - `generation_template` GenerationTemplate
    - `id` string, uuid
    - `slug` string
    - `name` string
    - `description` string, nullable
    - `category` string, nullable
    - `media_kind` string
    - `generator_tool_id` string
    - `tool_id` string
    - `prompt` string, nullable
    - `payload` object: Ready-to-run generation settings (modelId, prompt, …).
    - `preview_url` string, nullable
    - `tags` string[]

## Other responses

- `404`: Unknown or unpublished template

---

[API](https://skmtc.dev/film/apis/film-fun-splice-agent-api.md) · [All operations](https://skmtc.dev/film/apis/film-fun-splice-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/film/apis/film-fun-splice-agent-api/revisions/72c22f361c20?raw)
