None of the questions regarding the token usage gets answered I see. Still awaiting any update on th
None of the questions regarding the token usage gets answered I see. Still awaiting any update on this 
TypeError: The ReadableStream has been locked to a reader. prevent updateRecentImages workstop_p or repetition_penalty value to 0 causes Cloudflare API Errordata: [DONE] event, 500 "Cloudflare API error" top_p & repetition_penalty is 0, so ideally we shouldn't get any error..@cf/meta/llama-3.1-8b-instruct-fp8 has 32k token limit

llama-2 , CF ai seem to be useless to me atm.create me an image that is 512x512, with text that says "my text here" and a red background, with yellow textred background, text saying "my text here", arial font, yellow color
New blob([res]) returns a blob with raw content of [object Object]?{}{"0":0}, but when i log the response from ai.run it's just {}TypeError: The ReadableStream has been locked to a reader.top_ptop_prepetition_penaltyrepetition_penalty0Cloudflare API Errordata: [DONE]500 "Cloudflare API error"@cf/meta/llama-3.1-8b-instruct-fp8VECTOR_UPSERT_ERROR (code = 40012): invalid vector for id="sdfksd", expected 768 dimensions, and got 1024 dimensionsconst embeddingResult = await env.AI.run('@cf/baai/bge-large-en-v1.5', {
text: value,
});
const embeddingBatch: number[][] = embeddingResult.data;
await env.VECTORIZE.upsert(
embeddingBatch.map((embedding, index) => ({
id: sourceId,
values: embedding,
namespace: 'default',
metadata: {
id: sessionId
},
}))
);llama-2create me an image that is 512x512, with text that says "my text here" and a red background, with yellow textred background, text saying "my text here", arial font, yellow colorNew blob([res])[object Object]{}{}{"0":0}const response = await ai.run(model || "@cf/stabilityai/stable-diffusion-xl-base-1.0", requestInput);
// Store the image name in R2, in background
ctx.waitUntil(updateRecentImages(imageName, (await generateThumbs(imageName, '400x', true)), input, env, response));
return new Response(response, {
headers: {
"content-type": "image/png",
},
});{
"errors": [
{
"message": "Server Error",
"code": 6001
}
],
"success": false,
"result": {},
"messages": []
}export default {
async fetch(request, env) {
const inputs = {
prompt: "create an image that is 512x512. the background should be a solid, plain, yellow color. text over the background should say 'Learn How to Pronounce MySQL' in English. Text should be red and use an Arial font. ",
negative_prompt: "There shOuld not be any other effects or images.",
height: 512,
width: 1024
};
const response = await env.AI.run(
"@cf/bytedance/stable-diffusion-xl-lightning",
inputs
);
return new Response(response, {
headers: {
"content-type": "image/png",
},
});
},
}; const input: TTIInput = {
prompt: prompt,
strength: strength,
};
const res = await env.AI.run("@cf/stabilityai/stable-diffusion-xl-base-1.0", input);
const blob = new Blob([res]);
console.log(await blob.text());let a = new Uint8Array(1)
console.log(JSON.stringify(a))