

Upscaled to 4 megapixels
Output
Fill in the inputs and run the node to see its output here.
Run it from your code
The same node, called by id from any surface. Every tab pins p-image-upscale and passes the ports below. Full guide.
import { BlitClient } from "@blitflow/sdk";
const { runNode } = new BlitClient({ apiKey: process.env.BLITFLOW_TOKEN });
const { outputs } = await runNode("p-image-upscale", {
image: { ref: "https://..." },
targetMegapixels: { value: 4 },
enhanceDetails: { value: false },
enhanceRealism: { value: false },
outputFormat: { value: "jpg" },
});# Install once, then sign in
npm install -g blitflow
blitflow login
blitflow node p-image-upscale \
-i image=@https://... \
-i targetMegapixels=4 \
-i enhanceDetails=false \
-i enhanceRealism=false \
-i outputFormat="jpg"{
"name": "runs_node",
"arguments": {
"node": "p-image-upscale",
"inputs": {
"image": {
"ref": "https://..."
},
"targetMegapixels": {
"value": 4
},
"enhanceDetails": {
"value": false
},
"enhanceRealism": {
"value": false
},
"outputFormat": {
"value": "jpg"
}
}
}
}curl https://studio.blitflow.com/api/v1/runs/node \
-H "Authorization: Bearer $BLITFLOW_TOKEN" \
-H "Content-Type: application/json" \
-d '{"node":"p-image-upscale","inputs":{"image":{"ref":"https://..."},"targetMegapixels":{"value":4},"enhanceDetails":{"value":false},"enhanceRealism":{"value":false},"outputFormat":{"value":"jpg"}}}'Schema
Inputs
| image* | IMAGE | ||
| targetMegapixels | INT | 4 | |
| enhanceDetails | BOOLEAN | false | |
| enhanceRealism | BOOLEAN | false | |
| outputFormat | TEXT | webp · jpg · png | jpg |
Outputs
| image | IMAGE |