51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"prompt": "Prompt Template",
|
|
"model": "Completion Model",
|
|
"max_tokens": "Maximum tokens to return in response",
|
|
"temperature": "Temperature",
|
|
"top_p": "Top P"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"generate_image": {
|
|
"name": "Generate image",
|
|
"description": "Turn a prompt into an image",
|
|
"fields": {
|
|
"config_entry": {
|
|
"name": "Config Entry",
|
|
"description": "The config entry to use for this service"
|
|
},
|
|
"prompt": {
|
|
"name": "Prompt",
|
|
"description": "The text to turn into an image",
|
|
"example": "A photo of a dog"
|
|
},
|
|
"size": {
|
|
"name": "Size",
|
|
"description": "The size of the image to generate"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|