---
title: TFM American Cartoons Model Inpainting API – Run Online
description: TFM American Cartoons Model Inpainting is an SD 1.5 Checkpoint. Run it online with the API & playground. $0.0047 per image.
url: https://modelslab.com/models/modelslab/tfmamericancartoonsmodel-inpainting.md
canonical: https://modelslab.com/models/modelslab/tfmamericancartoonsmodel-inpainting
type: product
component: Playground/Endpoint/Index
generated_at: 2026-11-14T12:34:15.720780Z
---

[![TFM American Cartoons Model - Inpainting thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab.com/models/modelslab)TFM American Cartoons Model - Inpainting
---

Hosted on ModelsLab

Generate photorealistic and imaginative images from text prompts with advanced detail, inpainting, and image-to-image translation features, ideal for creatives and marketers.

`tfmamericancartoonsmodel-inpainting`

Open Source Model [Unlimited Usage](https://modelslab.com/pricing) [LLMs.txt](https://modelslab.com/models/modelslab/tfmamericancartoonsmodel-inpainting/llms.txt)

[API Playground](/models/modelslab/tfmamericancartoonsmodel-inpainting)API DocumentationVibe CodeRelated ModelsDeveloper SupportModel SpecsEnterprise Deployment

Input
---

Prompt 

a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography

Model 

LoRA Model 

HuggingFaceLibrary

Select models...

Width 

Height 

Advanced Settings Customize your input with more control.

**$0.0047** per image generation

Login to Generate

Output
---

Sample

![Generated Content](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6f1e3d99-4d15-4e03-113c-4adf82c3a100/width=512/433292.jpeg)

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

![Nano Banana Pro API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/5ee72f26-dfa9-4d26-a546-7d496ef71be7.webp)

[Google](/models/google)

 [Nano Banana Pro](/models/google/nano-banana-pro?config=nano-banana-pro-text2image)Closed Source Model

![Flux 3 Klein Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/eeded1dc-53f1-4aab-972b-8c9a4a8304b4.webp)

[ModelsLab](/models/modelslab) Popular

 [Flux 3 Klein Text To Image](/models/modelslab/flux-3-klein)Open Source Model

![Gen4 Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/b656bfe5-c402-456b-9980-f7447198887d.webp)

[Runway ML](/models/runway_ml)

 [Gen4 Text to Image](/models/runway_ml/gen4_image)Closed Source Model

![Grok Imagine Image 2.0 Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/36454d6f-dd19-4a92-b618-d9332263045f.webp)

[xAI](/models/xai)

 [Grok Imagine Image 2.0 Text To Image](/models/x-ai/grok-imagine-image-2.0-t2i)Closed Source Model

![Seedream 5.0 Pro Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/280db637-e26a-4621-a7ea-572ca88c7876.png)

[BytePlus](/models/byteplus)

 [Seedream 5.0 Pro Text To Image](/models/byteplus/seedream-5.0-pro-t2i)Closed Source Model

![Nano Banana 2.1 Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/f44e6b5c-f64c-456a-b63f-8fae5728b0f1.webp
)

[Google](/models/google)

 [Nano Banana 2.1 Text To Image](/models/google/gemini-nano-banana-2.1-t2i)Closed Source Model

### Faster Generation

Built for speed when you are iterating on a prompt.

![Grok Imagine Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/77fe7302-eee2-45bd-baae-45d2a822b52f.webp)

[xAI](/models/xai)

 [Grok Imagine Text To Image](/models/xai/grok-imagine-image-t2i)

![Wan 2.7 Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/aba76d25-b19c-4fee-9123-4cbb29e71646.webp)

[Alibaba](/models/alibaba_cloud)

 [Wan 2.7 Text To Image](/models/alibaba_cloud/wan-2.7-t2i)

Related Models
---

Discover similar models you might be interested in

 [View all Models](https://modelslab.com/models)

![Alex "Bubble_Planet" -Minecraft - SD 1.5 Remake API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f281e85c-d24c-4e45-b8cc-5546caf490b3/width=96/King_Dong.jpeg)

[ModelsLab](/models/modelslab) Popular

 [Alex "Bubble\_Planet" -Minecraft - SD 1.5 Remake](/models/modelslab/alex-bubble-planet-minecraft-sd-1-5-remake)

![Lulla | Comodox - v1.0 (SD 1.5) API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2f48f321-ebb3-45f0-9026-b96526475c95/width=512/17526393.jpeg)

[ModelsLab](/models/modelslab)

 [Lulla | Comodox - v1.0 (SD 1.5)](/models/modelslab/lulla-comodox-v1-0-sd-1-5)

![choomoranma illustration API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/dd244e5d-00a5-4c47-a419-7180671c2329-0.png)

[ModelsLab](/models/modelslab)

 [choomoranma illustration](/models/modelslab/choomoranma-illustration)

![epiCRealism pureEvolution InPainting - v1.0 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/bab6121c-ab5c-4f35-accd-ecd7f1d5875e/width=512/1142184.jpeg)

[ModelsLab](/models/modelslab) Popular

 [epiCRealism pureEvolution InPainting - v1.0](/models/modelslab/epicrealismpureevolutioninpainting-v10)

![【Checkpoint】YesMix - v1.6 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e38eef28-0148-4a7a-a3a9-860cc20c5000/width=768/251070.jpeg)

[ModelsLab](/models/modelslab) Popular

 [【Checkpoint】YesMix - v1.6](/models/modelslab/checkpoint-yesmix-v1-6)

![PrimeMix - v2.1 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/99362516-1894-4006-b748-e920d8eb8ea2/width=1024/748819.jpeg)

[ModelsLab](/models/modelslab) Popular

 [PrimeMix - v2.1](/models/modelslab/primemix-v21)

View all 18 related models

About TFM American Cartoons Model - Inpainting
---

TFM American Cartoons Model - Inpainting is an SD 1.5 Checkpoint, available on ModelsLab through the API and the playground above. API access starts at $21/month, and open-source models are unlimited on the $149/month plan.

### TFM American Cartoons Model - Inpainting facts

Base modelSD 1.5

TypeCheckpoint

Price$0.0047 per image

Added to ModelsLabJune 4, 2025

Model IDtfmamericancartoonsmodel-inpainting

### Quick Start

Integrate TFM American Cartoons Model - Inpainting into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<div>import requests</div>
<div>import json</div>
<div>
</div>
<div>url = "https://modelslab.com/api/v6/images/text2img"</div>
<div>
</div>
<div>headers = {</div>
<div>    "Content-Type": "application/json"</div>
<div>}</div>
<div>
</div>
<div>data = {</div>
<div>        "model_id": "tfmamericancartoonsmodel-inpainting",</div>
<div>        "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",</div>
<div>        "key": "YOUR_API_KEY"</div>
<div>    }</div>
<div>
</div>
<div>try:</div>
<div>    response = requests.post(url, headers=headers, json=data)</div>
<div>    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)</div>
<div>    result = response.json()</div>
<div>    print("API Response:")</div>
<div>    print(json.dumps(result, indent=2))</div>
<div>except requests.exceptions.HTTPError as http_err:</div>
<div>    print(f"HTTP error occurred: {http_err} - {response.text}")</div>
<div>except Exception as err:</div>
<div>    print(f"Other error occurred: {err}")</div>
```

const requestBody = {

 "model_id": "tfmamericancartoonsmodel-inpainting",

 "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",

 "key": "YOUR_API_KEY"

 };

async function makeApiRequest() {

 try {

 const response = await fetch(endpointUrl, {

 method: 'POST',

 headers: {

 'Content-Type': 'application/json',

 },

 body: JSON.stringify(requestBody)

 });

 if (!response.ok) {

 let errorResult;

 try {

 errorResult = await response.json();

 } catch (e) {

 errorResult = { error: { message: await response.text() } };

 }

 throw new Error(`API Error (${response.status}): ${errorResult.error?.message || response.statusText || 'Unknown error'}`);

 }

 const result = await response.json();

 console.log('API Response:', result);

 return result;

 } catch (error) {

 console.error('Error making API request:', error.message);

 throw error;

 }

}

makeApiRequest();

 -H "Content-Type: application/json" \

 -d '{

 "model_id": "tfmamericancartoonsmodel-inpainting",

 "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",

 "key": "YOUR_API_KEY"

}'

$url = 'https://modelslab.com/api/v6/images/text2img';

$headers = [

 'Content-Type: application/json'

];

$data = [

 'model_id' => 'tfmamericancartoonsmodel-inpainting',

 'prompt' => 'a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography',

 'key' => 'YOUR_API_KEY',

];

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_TIMEOUT, 30);

$response = curl_exec($ch);

$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

$curlError = curl_error($ch);

if ($curlError) {

 echo 'Curl error: ' . $curlError;

} else {

 echo "HTTP Status Code: " . $httpCode . "\n";

 $result = json_decode($response, true);

 if (json_last_error() !== JSON_ERROR_NONE) {

 echo "Error decoding JSON: " . json_last_error_msg() . "\n";

 echo "Raw response: " . $response . "\n";

 } else {

 echo "API Response:\n";

 print_r($result);

 }

}

?>

### Pricing

TFM American Cartoons Model - Inpainting API costs $0.0047 per API call. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

[Browse All Models](https://modelslab.com/models) [More from ModelsLab](https://modelslab.com/models/modelslab) [View Pricing](https://modelslab.com/pricing)

TFM American Cartoons Model - Inpainting FAQ
---

### What is TFM American Cartoons Model - Inpainting?

TFM American Cartoons Model - Inpainting is an SD 1.5 Checkpoint, available on ModelsLab through the API and the playground above.

### How do I use the TFM American Cartoons Model - Inpainting API?

You can integrate TFM American Cartoons Model - Inpainting into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "tfmamericancartoonsmodel-inpainting" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does TFM American Cartoons Model - Inpainting cost?

TFM American Cartoons Model - Inpainting costs $0.0047 per image. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the TFM American Cartoons Model - Inpainting model ID?

The model ID for TFM American Cartoons Model - Inpainting is "tfmamericancartoonsmodel-inpainting". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use TFM American Cartoons Model - Inpainting?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-11-14*