n8n-5

workflow

13_130

1
...

13_131 Build Your Own Image Generator App with Lovable & GPT Image 1 - Lovable Image App, Bolt AI Image App, Replit App

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# webhook
Production URL : (for app)
HTTP Method: POST
Path: image
Authen: None
Respond: Using 'Respond to Webhook' Node
--- can set test data for test ...
[
{
"body": {
"prompt": "a raxxonb DJ at a rooftop party."
}
}
]
---

# OpenAPI --> generate an image
Model: GPT Image 1
Prompt: {{ $json.body.prompt }}
Options
Quality: Medium
Resolution: 1024x1024

# Respond to webhook
Respond With: Binary File
Response Data Source: Choose Automatically From Input

# Lovable ptompt
Create an AI-powered image generator app. The interface should be clean, modern, and visually appealing. Users should be able to type in a description of the image they want and click a button to generate it.
To generate the image, send a POST request to this endpoint: https://hot5656.app.n8n.cloud/webhook/image
The request body should look like this:
{ "prompt": "a high-resolution portrait of a man wearing a suit" }
The API will return the generated image as a binary file.
---
enguin with a backpack
a frog wearing sunglasses and floating on a pizza slice in a swimming pool
realistic picture, a girl hanging on a Taipei street
逼真畫面恐龍逛鶯歌老街
逼真貓咪遊東京
寫實,夏天的墾丁
---