---
title: "GET /api/v1/client/prompts/samples"
method: GET
path: "/api/v1/client/prompts/samples"
tags: ["Client API"]
---

# GET /api/v1/client/prompts/samples

`GET /api/v1/client/prompts/samples`

Get sample prompts for AI inference tasks based on type and optional topic

## Query parameters

- `type` 'text2image' | 'text2speech', required
- `topic` string, nullable
- `lang_code` string, nullable

## Response `200`

Sample prompt generated successfully

- object
  - `success` boolean
  - `data` object
    - `type` string
    - `prompt` string

## Other responses

- `401` — Unauthorized request
- `422` — Validation failed - invalid type or topic too long
- `500` — Failed to generate sample prompt

---

[API](https://skmtc.net/deapi/apis/deapi-rest-api.md) · [All operations](https://skmtc.net/deapi/apis/deapi-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deapi/deapi-rest-api/versions/c70b8b231ca8/schema)
