I am currently trying to connect my replicate account to a workflow but im getting an authorizaiton faliure request. Where does the Replicator Token go?
Node:
{
“nodes”: [
{
“parameters”: {
“method”: “POST”,
“url”: “https://api.replicate.com/v1/models/black-forest-labs/flux-1.1-pro-ultra/predictions”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “httpHeaderAuth”,
“sendHeaders”: true,
“headerParameters”: {
“parameters”: [
{}
]
},
“sendBody”: true,
“specifyBody”: “json”,
“jsonBody”: “={\n "input": {\n "raw": false,\n "prompt": "{{ $(‘3b. Generate Image Prompt Options (Gemini)’).item.json.output.prompt_options[0].prompts[0] }}",\n "aspect_ratio": "1:1",\n "output_format": "jpg",\n "safety_tolerance": 6\n }\n}”,
“options”: {}
},
“id”: “a8d38be7-85b5-4a39-bd39-7f765699d471”,
“name”: “4. Generate Image using Prompt 1 (Replicate Flux)”,
“type”: “n8n-nodes-base.httpRequest”,
“position”: [
4500,
300
],
“typeVersion”: 4.2,
“credentials”: {
“httpHeaderAuth”: {
“id”: “SwLtdx6Q2g6gRgSs”,
“name”: “Header Auth account”
},
“githubApi”: {
“id”: “o3Y7L3PU2ObNl1Jo”,
“name”: “GitHub account”
}
}
}
],
“connections”: {
“4. Generate Image using Prompt 1 (Replicate Flux)”: {
“main”: [
]
}
},
“pinData”: {},
“meta”: {
“templateId”: “3840”,
“instanceId”: “eb93da6a17138b746d10d5c028f55aa797d9327fe06c248a95d709a1d45681f7”
}
}
Workflow: