Available Actions
generateeditvariation
Input Schema
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"size": {
"type": "string"
},
"model": {
"type": "string"
},
"style": {
"type": "string"
},
"prompt": {
"type": "string"
}
}
}Output Schema
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"base64": {
"type": "string"
}
}
}Quick Start
API Endpoint
POST /api/execute/image-generatorcURL Example
curl -X POST \
https://api.nulayers.com/execute/image-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "generate"}'