Edit Model: Acme Chat Pro

Update your model details, API endpoints, and configuration.

Back
1

Basic Information

Tell us about your model and provide provider icons.

Click to upload or drag & drop
SVG, PNG or JPG (max. 512x512px, 2MB)
2

Model Version & Documentation

Specify the version details and supported file inputs.

Image Upload
PNG, JPG, WebP (Max 10MB)
Enabled
Audio Upload
MP3, WAV (Max 50MB)
Disabled
Video Upload
MP4, MOV (Max 100MB)
Disabled
Document Upload
PDF, DOC, DOCX (Max 50MB)
Disabled
Mask Image Upload
PNG, JPG (Max 10MB)
Disabled
3

GET Method Required

Toggle to configure separate code snippets and parameters for GET method requests

Enabled
GET Code Per Language (GET Method) Paste working GET method code. Use {{api_key}} as key placeholder.
PHP (GET Method)
<?php

$api_key = "{{api_key}}";

$taskId = "{{taskId}}"; // task_id

$conversionType = "{{conversionType}}"; // AUDIO_MASTERING

$url = "https://api.musicgpt.com/api/public/v1/byid?" . http_build_query([
    "task_id" => $taskId,
    "conversionType" => $conversionType
]);
const axios = require('axios');
const url = `https://api.musicgpt.com/api/public/v1/byid?task_id=${taskId}&conversionType=${conversionType}`;
const res = await axios.get(url, { headers: { 'Authorization': `Bearer {{api_key}}` } });
import requests
url = "https://api.musicgpt.com/api/public/v1/byid"
params = {"task_id": task_id, "conversionType": conversion_type}
headers = {"Authorization": "Bearer {{api_key}}"}
response = requests.get(url, params=params, headers=headers)
req, _ := http.NewRequest("GET", "https://api.musicgpt.com/api/public/v1/byid", nil)
q := req.URL.Query()
q.Add("task_id", taskId)
req.URL.RawQuery = q.Encode()
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://api.musicgpt.com/api/public/v1/byid?task_id=" + taskId))
    .header("Authorization", "Bearer {{api_key}}")
    .GET()
    .build();
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer {{api_key}}");
var response = await client.GetAsync($"https://api.musicgpt.com/api/public/v1/byid?task_id={taskId}");
curl -X GET "https://api.musicgpt.com/api/public/v1/byid?task_id={{taskId}}&conversionType=AUDIO_MASTERING" \
  -H "Authorization: Bearer {{api_key}}"
4

Code Selection

Provide code examples for integration.

PHP
Node.js
Python
Go
Java
C#
cURL
Back to Models