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

推荐订阅源

C
Check Point Blog
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
美团技术团队
NISL@THU
NISL@THU
C
Cisco Blogs
SecWiki News
SecWiki News
N
Netflix TechBlog - Medium
Forbes - Security
Forbes - Security
Cloudbric
Cloudbric
雷峰网
雷峰网
T
Tailwind CSS Blog
博客园 - 司徒正美
The Register - Security
The Register - Security
L
LangChain Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
B
Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Threat Research - Cisco Blogs
I
InfoQ
S
Schneier on Security
L
Lohrmann on Cybersecurity
量子位
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
Schneier on Security
Schneier on Security
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
K
Kaspersky official blog
Google DeepMind News
Google DeepMind News
Cisco Talos Blog
Cisco Talos Blog
PCI Perspectives
PCI Perspectives
Attack and Defense Labs
Attack and Defense Labs
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
D
Docker
N
News | PayPal Newsroom
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
H
Hacker News: Front Page
云风的 BLOG
云风的 BLOG
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
Webroot Blog
Webroot Blog
MongoDB | Blog
MongoDB | Blog

Replicate's changelog

Agent skills for Replicate – Replicate changelog Fallback model for Nano Banana Pro – Replicate changelog MCP server auto-discovery – Replicate changelog Filter predictions by source – Replicate changelog The little things, week ending December 19, 2025 – Replicate changelog The little things, week ending December 5, 2025 – Replicate changelog The little things, week ending November 21, 2025 – Replicate changelog Code mode for Replicate's MCP server – Replicate changelog The little things, week ending November 7, 2025 – Replicate changelog Deployment setup monitoring – Replicate changelog The little things, week ending October 24, 2025 – Replicate changelog Set deadlines for predictions – Replicate changelog The little things, week ending October 10, 2025 – Replicate changelog Download invoices from billing settings – Replicate changelog Sort models by creation date via API – Replicate changelog Update model metadata via API – Replicate changelog The little things, week ending September 26, 2025 – Replicate changelog New search API, now in beta – Replicate changelog The little things, week ending September 12, 2025 – Replicate changelog Torch compile caching – Replicate changelog The little things, week ending August 29, 2025 – Replicate changelog The little things, week ending August 14, 2025 – Replicate changelog Run all models with the same API endpoint – Replicate changelog The little things, week ending August 1, 2025 – Replicate changelog Purchase prepaid credit – Replicate changelog Introducing a new Cog runtime – Replicate changelog The little things, week ending July 18, 2025 – Replicate changelog The little things, week ending July 4, 2025 – Replicate changelog Set a monthly spend limit deprecated – Replicate changelog See up to 24 hours of data on deployment metric graphs – Replicate changelog The little things, week ending June 20, 2025 – Replicate changelog Environment variables in running containers – Replicate changelog Slimmer API responses for model metadata – Replicate changelog The little things, week ending June 6, 2025 – Replicate changelog Faster, cheaper Flux training – Replicate changelog The little things, week ending May 23, 2025 – Replicate changelog Streaming text support in the playground – Replicate changelog Web URLs now in prediction objects – Replicate changelog Iterate in playground with audio support – Replicate changelog NVIDIA H100 GPUs now available – Replicate changelog More by this user – Replicate changelog The little things, week ending May 9, 2025 – Replicate changelog Copy docs directly to your LLM – Replicate changelog The little things, week ending April 25, 2025 – Replicate changelog The little things, week ending March 28, 2025 – Replicate changelog Simplified organizations – Replicate changelog The little things, week ending March 14, 2025 – Replicate changelog The little things, week ending February 28, 2025 – Replicate changelog Better prediction list – Replicate changelog The little things, week ending February 14, 2025 – Replicate changelog The little things, week ending January 31, 2025 – Replicate changelog Official models – Replicate changelog The little things, week ending January 17, 2025 – Replicate changelog The little things, week ending December 20, 2024 – Replicate changelog Language model training no longer supported – Replicate changelog GPU memory monitoring – Replicate changelog The little things, week ending December 06, 2024 – Replicate changelog The little things, week ending November 22, 2024 – Replicate changelog The little things, week ending November 8, 2024 – Replicate changelog A fond farewell to Python 3.7 – Replicate changelog The little things, week ending October 25, 2024 – Replicate changelog Dark mode – Replicate changelog Playground (beta) – Replicate changelog New documentation – Replicate changelog Synchronous API – Replicate changelog Large log outputs might be truncated – Replicate changelog Time limit for sharing predictions – Replicate changelog View training outputs on the web – Replicate changelog API for searching public models – Replicate changelog Streams always available, stream parameter deprecated – Replicate changelog Secret inputs for models – Replicate changelog Disable API tokens – Replicate changelog RSS and Atom feeds – Replicate changelog Delete stuff – Replicate changelog Docs and client library support for webhook verification – Replicate changelog Search for deployments – Replicate changelog Webhooks activity UI – Replicate changelog Improved validation for API prediction payloads – Replicate changelog T4 models now have more RAM – Replicate changelog GitHub secret scanning – Replicate changelog Bearer tokens – Replicate changelog Deployments API – Replicate changelog 3D viewer for GLB outputs – Replicate changelog Task-oriented collections – Replicate changelog Webhook verification – Replicate changelog Fine-tune SDXL from the web – Replicate changelog Compare image inputs to outputs – Replicate changelog Code snippets for every prediction – Replicate changelog API for creating models – Replicate changelog Improved training detail pages – Replicate changelog Prediction parameters as JSON – Replicate changelog API for listing public models – Replicate changelog Deployments – Replicate changelog Prediction query parameter – Replicate changelog Fullscreen training logs – Replicate changelog Dynamic status favicons – Replicate changelog Streaming output for language models – Replicate changelog Multiple API tokens for users – Replicate changelog A40 GPUs now available – Replicate changelog Hardware and pricing for trainable models – Replicate changelog
Node.js client library – Replicate changelog
2023-04-05 · via Replicate's changelog

Replicate now has a client library for Node.js. You can use it to run models and everything else you can do with the HTTP API.

Install it from npm:

Then, you can run predictions:

import Replicate from "replicate";

const replicate = new Replicate({
  auth: process.env.REPLICATE_API_TOKEN,
});

const model = "stability-ai/stable-diffusion:27b93a2413e7f36cd83da926f3656280b2931564ff050bf9575f1fdf9bcd7478";
const input = { prompt: "a 19th century portrait of a raccoon gentleman wearing a suit" };
const output = await replicate.run(model, { input });
// ['https://replicate.delivery/pbxt/GtQb3Sgve42ZZyVnt8xjquFk9EX5LP0fF68NTIWlgBMUpguQA/out-0.png']

Follow our guide to running a model from Node.js or read the full documentation on GitHub.