쿠키를 사용합니다. 쿠키와 브라우저 저장소는 로그인 상태를 유지하고 환경설정을 기억합니다. 동의하시면 사이트 이용 방식도 측정합니다. 언제든지 할 수 있습니다. 자세한 내용은 쿠키 정책을 참고하세요.
- 필수세션, 보안, 환경설정. 사이트 작동에 필요합니다.항상 켜짐
쿠키를 사용합니다. 쿠키와 브라우저 저장소는 로그인 상태를 유지하고 환경설정을 기억합니다. 동의하시면 사이트 이용 방식도 측정합니다. 언제든지 할 수 있습니다. 자세한 내용은 쿠키 정책을 참고하세요.
meta/muse-ember위 가격으로 잔액에서 차감됩니다.
Meta: Muse Ember는 Meta의 텍스트 모델로, 회사의 Muse 라인에서 가장 작고 가장 효율적인 모델로 자리매김하고 있습니다. 복잡한 추론 실행과 에이전트가 하루 종일 반복하는 작업, 예를 들어 도구 호출, 코딩 에이전트 하위 작업, 라우팅을 위해 만들어졌습니다. 텍스트 카테고리에 속하므로 출력은 텍스트이며, 에이전트 루프 뒤에 위치해 빈번하고 반복적인 호출을 처리할 수 있는 유능한 추론 모델이 필요한 개발자를 대상으로 합니다.
이 모델은 텍스트, 이미지, 비디오, 파일, 오디오를 입력으로 받고 텍스트를 반환합니다. 컨텍스트 윈도우는 1,048,576 토큰이고 최대 출력은 943,718 토큰입니다. 이처럼 매우 큰 컨텍스트와 큰 출력 예산의 조합은 긴 문서, 지침과 함께 제공되는 미디어, 또는 확장된 에이전트 트랜스크립트를 입력하면서도 상당한 응답을 위한 여유를 남길 수 있다는 뜻입니다. 지원되는 요청 파라미터에는 include_reasoning, reasoning, reasoning_effort, max_tokens, temperature, top_p, top_k, repetition_penalty, response_format, structured_outputs, tools, tool_choice가 있습니다.
이러한 기능은 몇 가지 실용적인 패턴을 가리킵니다. 도구 호출과 tool_choice는 모델이 어떤 함수를 어떤 인수로 호출할지 결정하는 에이전트 워크플로에 자연스럽게 맞습니다. 구조화된 출력과 response_format은 라우팅 결정, 추출, 더 큰 시스템 내부의 분류 단계처럼 기계가 읽을 수 있는 결과가 필요한 파이프라인에 적합합니다. 추론 제어를 사용하면 하위 작업이 얼마나 많은 숙고를 필요로 하는지에 따라 추론 노력을 높이거나 낮출 수 있고, include_reasoning을 사용하면 원할 때 추론을 드러낼 수 있습니다. 이미지, 비디오, 파일, 오디오를 입력으로 받기 때문에 문서와 함께 제공되는 이미지나 오디오 클립을 검토하는 것처럼 프롬프트에 혼합 미디어가 포함된 작업도 처리하면서 여전히 텍스트를 반환할 수 있습니다.
Muse Ember는 모델 id "meta/muse-ember"를 사용해 api14의 OpenAI 호환 API를 통해 호출합니다. 인터페이스가 OpenAI 형식을 따르므로 기존 OpenAI 클라이언트를 api14로 지정하고 model 필드에 해당 id를 전달할 수 있습니다. 위에 나열된 요청 파라미터가 지원되므로 샘플링 제어를 위해 max_tokens, temperature, top_p, top_k, repetition_penalty를 설정하고, 함수 호출을 위해 tools와 tool_choice를 사용하며, 제한된 출력이 필요할 때 response_format과 structured_outputs를 사용하고, 추론 동작을 관리하기 위해 reasoning, reasoning_effort, include_reasoning을 사용할 수 있습니다.
Muse Ember는 해당 라인에서 가장 작은 모델이므로 가장 큰 모델이 아니라 효율성 지향의 선택이라는 점을 알아둘 필요가 있습니다. 출력은 텍스트 전용이므로 다른 출력 양식이 필요하다면 이 모델은 그것을 제공하지 않습니다. 워크로드에 추론이 많은 에이전트 단계, 도구 호출, 긴 컨텍스트 입력이 포함되지 않는다면 더 단순한 모델로 충분할 수 있습니다.
카탈로그 데이터를 바탕으로 AI 모델이 작성하고 자동 번역했습니다. 표의 가격과 한도는 카탈로그에서 바로 가져옵니다. 콘텐츠 제작 방식
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "meta/muse-ember",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api14.com/api/v1",
api_key=os.environ["API14_API_KEY"],
)
result = client.chat.completions.create(
model="meta/muse-ember",
messages=[
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
],
)
print(result.choices[0].message.content)
curl https://api14.com/api/v1/chat/completions \
-H "Authorization: Bearer $API14_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meta/muse-ember",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}'
package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
body := []byte(`{
"model": "meta/muse-ember",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}`)
req, _ := http.NewRequest("POST", "https://api14.com/api/v1/chat/completions", bytes.NewReader(body))
req.Header.Set("Authorization", "Bearer "+os.Getenv("API14_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}
<?php
$ch = curl_init("https://api14.com/api/v1/chat/completions");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("API14_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"model" => "meta/muse-ember",
"messages" => [
[
"role" => "user",
"content" => "Explain vector databases in two sentences."
]
]
]),
]);
$response = json_decode(curl_exec($ch), true);
print_r($response);
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"model": "meta/muse-ember",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api14.com/api/v1/chat/completions"))
.header("Authorization", "Bearer " + System.getenv("API14_API_KEY"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
using OpenAI;
using OpenAI.Chat;
using System.ClientModel;
var client = new ChatClient(
model: "meta/muse-ember",
credential: new ApiKeyCredential(Environment.GetEnvironmentVariable("API14_API_KEY")!),
options: new OpenAIClientOptions { Endpoint = new Uri("https://api14.com/api/v1") });
ChatCompletion completion = client.CompleteChat("Explain vector databases in two sentences.");
Console.WriteLine(completion.Content[0].Text);
require "net/http"
require "json"
uri = URI("https://api14.com/api/v1/chat/completions")
req = Net::HTTP::Post.new(uri, {
"Authorization" => "Bearer #{ENV["API14_API_KEY"]}",
"Content-Type" => "application/json",
})
req.body = {
"model": "meta/muse-ember",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |h| h.request(req) }
puts JSON.parse(res.body)
// Cargo.toml: reqwest = { version = "0.12", features = ["json"] }, tokio = { version = "1", features = ["full"] }, serde_json = "1"
use serde_json::json;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let key = std::env::var("API14_API_KEY")?;
let res = reqwest::Client::new()
.post("https://api14.com/api/v1/chat/completions")
.bearer_auth(key)
.json(&json!({
"model": "meta/muse-ember",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}))
.send()
.await?
.text()
.await?;
println!("{res}");
Ok(())
}
이 커뮤니티에는 아직 토픽이 없습니다. Meta: Muse Ember에 대한 첫 토픽을 열어 보세요.
include_reasoningmax_tokensreasoningreasoning_effortrepetition_penaltyresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_ktop_p