GET/v1/creative/templates/{template_id}/prompt
Stable2026-04-01幂等Try it

TemplateService.GetPromptTemplate

获取模板的排版提示词

获取指定模板的排版提示词。提示词描述了该模板的排版规则,可直接用于 LLM 指令。

Authentication

支持组合OAuth 2.0API Key
No identity
User identity
Org identity
所需 scopes:creative:read

Request

路径参数

名称类型必填描述
template_idstringyes模板 ID 或预设 ID。

Response

200 OK · GetPromptTemplateResponse

字段类型必填描述
promptstring—排版提示词文本,描述该模板的排版规则。
template_idstring—模板 ID。
namestring—模板名称。

错误响应 · google.rpc.Status

非 2xx 响应均按 AIP-193 规范包装为google.rpc.Status,含 code /message /details 三段。details[].reason 是机器可读的具体错误原因码,可用于客户端分支处理。

字段类型必填描述
codeinteger (int32)—The status code, which should be an enum value of google.rpc.Code.
messagestring—A developer-facing error message.
detailsarray<Any>—A list of messages that carry the error details.

Examples

curl -X GET \
  'https://api.appforges.com/v1/creative/templates/{template_id}/prompt' \
  -H 'Authorization: Bearer $ACCESS_TOKEN'
OpenAPI spec v0.59.4 · synced 10/11/2026, 11:27:14 PM