Skip to main content

Retrieve a prompt

Parameters

No parameters

Returns

Returns the prompt object.

GET /tunes/:tune_id/prompts/:id

curl -X GET -H "Authorization: Bearer $API_KEY" https://api.astria.ai/tunes/1/prompts/1

Response

{
"id": 1,
"callback": "https://optional-callback-url.com/to-your-service-when-ready",
"text": "a painting of ohwx man in the style of Van Gogh",
"negative_prompt": "old, blemish, wrinkles, mole",
"cfg_scale": null,
"steps": null,
"seed": null,
"trained_at": null,
"started_training_at": null,
"created_at": "2022-10-06T16:12:54.505Z",
"updated_at": "2022-10-06T16:12:54.505Z",
"tune_id": 1,
"url": "http://api.astria.ai/tunes/1/prompts/1.json"
}