test-world
Input text to add 'world' to
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run aitechtree/test-world using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "aitechtree/test-world:336b9dff98b7aefb3543a499f2a276495ec632ec4812fc998270366eb589cd11", { input: { input_text: "hello" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
import replicate
output = replicate.run( "aitechtree/test-world:336b9dff98b7aefb3543a499f2a276495ec632ec4812fc998270366eb589cd11", input={ "input_text": "hello" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "aitechtree/test-world:336b9dff98b7aefb3543a499f2a276495ec632ec4812fc998270366eb589cd11", "input": { "input_text": "hello" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{ "completed_at": "2024-10-08T11:05:32.182415Z", "created_at": "2024-10-08T11:00:26.527000Z", "data_removed": false, "error": null, "id": "cvgznnmq3xrge0cjdf4rwe0f08", "input": { "input_text": "hello" }, "logs": null, "metrics": { "predict_time": 0.002861425, "total_time": 305.655415 }, "output": "hello world", "started_at": "2024-10-08T11:05:32.179554Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cvgznnmq3xrge0cjdf4rwe0f08", "cancel": "https://api.replicate.com/v1/predictions/cvgznnmq3xrge0cjdf4rwe0f08/cancel" }, "version": "336b9dff98b7aefb3543a499f2a276495ec632ec4812fc998270366eb589cd11" }
This model runs on Nvidia T4 GPU hardware. We don't yet have enough runs of this model to provide performance information.
NSFW Erotic Novel AI Generation -NSFW Text (Data) Generator for Detecting 'NSFW' Text: Multilingual Experience
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.