惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LINUX DO - 最新话题
C
Cyber Attacks, Cyber Crime and Cyber Security
G
GRAHAM CLULEY
T
Tenable Blog
T
Threatpost
C
CXSECURITY Database RSS Feed - CXSecurity.com
I
Intezer
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
D
Darknet – Hacking Tools, Hacker News & Cyber Security
K
Kaspersky official blog
Security Latest
Security Latest
P
Privacy & Cybersecurity Law Blog
Google Online Security Blog
Google Online Security Blog
SecWiki News
SecWiki News
P
Palo Alto Networks Blog
TaoSecurity Blog
TaoSecurity Blog
Webroot Blog
Webroot Blog
Spread Privacy
Spread Privacy
O
OpenAI News
The Last Watchdog
The Last Watchdog
P
Proofpoint News Feed
C
Check Point Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
人人都是产品经理
人人都是产品经理
S
Security @ Cisco Blogs
Scott Helme
Scott Helme
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
月光博客
月光博客
S
Securelist
酷 壳 – CoolShell
酷 壳 – CoolShell
V
V2EX
T
Troy Hunt's Blog
W
WeLiveSecurity
GbyAI
GbyAI
N
News | PayPal Newsroom
Y
Y Combinator Blog
C
Cisco Blogs
H
Help Net Security
The GitHub Blog
The GitHub Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - 【当耐特】
Jina AI
Jina AI
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
云风的 BLOG
云风的 BLOG
小众软件
小众软件
N
News and Events Feed by Topic

陈沙克日志

AP 物理油管视频推荐 - 陈沙克日志 | shake Blog S-UI 面板 - 陈沙克日志 | shake Blog 16岁男孩 - 陈沙克日志 | shake Blog 2026雅思备考综合研究报告 - 陈沙克日志 | shake Blog 3个月AI学习总结 - 陈沙克日志 | shake Blog WSL2 安装 Claude Code OpenClaw Hermes-Agent - 陈沙克日志 | shake Blog Hugging Face Spaces 容器部署 n8n + MinIO + NCA - 陈沙克日志 | shake Blog 中国人口危机 - 陈沙克日志 | shake Blog NotebookLM PPT 提示词 - 陈沙克日志 | shake Blog NotebookLM Infographic 提示词 - 陈沙克日志 | shake Blog 基督教发展历程:从起源到多元分支的演变 - 陈沙克日志 | shake Blog 犹太教历史概览:从创世到复国 - 陈沙克日志 | shake Blog 闲聊中华5000年文明 - 陈沙克日志 | shake Blog Vscode 配置java - 陈沙克日志 | shake Blog AP CSA 学习材料 - 陈沙克日志 | shake Blog 15岁孩子不同的地方 - 陈沙克日志 | shake Blog youtube2mp3 - 陈沙克日志 | shake Blog
N8N HTTP Request cURL倒入的坑 - 陈沙克日志 | shake Blog
shake · 2026-05-14 · via 陈沙克日志

N8N的HTTP Request 节点,有一个功能,通过cURL倒入,非常方便,对于非程序员来说,友好很多,但是有两个坑,需要注意一下。

  • curl倒入,代码没有嵌套,N8N,使用field,如果代码有嵌套,使用JSON,
  • 使用field,有的字段会出现问题。下面解析。

尽量避免使用filed,手工使用JSON

Minimax 生图

一个手动出发器,连接一个 HTTP Request 节点,就可以实现。问题就是HTTP Request 节点如何设置

打开Minimax的文档中心,API参考

文生图

可以看到右边有一个curl 例子,非常实用,直接copy就可以。填入自己的key。key一定要注意,前面有Bearer

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
curl --request POST \
  --url https://api.minimaxi.com/v1/image_generation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "image-01",
  "prompt": "A man in a white t-shirt, full-body, standing front view, outdoors, with the Venice Beach sign in the background, Los Angeles. Fashion photography in 90s documentary style, film grain, photorealistic.",
  "aspect_ratio": "16:9",
  "response_format": "url",
  "n": 3,
  "prompt_optimizer": true
}
'

n8n里打开HTTP Request节点,选择 import cURL,将上面内容贴入。建议你先在文本里,输入自己的key,再倒入。

 HTTP Request 节点

倒入参数后,结果你发现点击执行,出错。这时候就郁闷。

方法1

修改参数,原因是因为

错误原因

调整完成就正常。

方法2

把 Using Fields Below,改成 Using JSON,输入下面内容

1
2
3
4
5
6
7
8
9
{
  "model": "image-01",
  "prompt": "A man in a white t-shirt, full-body, standing front view, outdoors, with the Venice Beach sign in the background, Los Angeles. Fashion photography in 90s documentary style, film grain, photorealistic.",
  "aspect_ratio": "16:9",
  "response_format": "url",
  "n": 3,
  "prompt_optimizer": true
}

填入你的key,都可以工作正常。

参考

阿里云百炼的模型,curl,是嵌套,倒入直接using JSON

阿里百炼平台